We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20ca009 commit d6eb8e0Copy full SHA for d6eb8e0
1 file changed
plotpy/widgets/colormap/editor.py
@@ -134,12 +134,11 @@ def __init__(
134
self.tabs.setCurrentIndex(0)
135
self.update_tabs_names_from_current()
136
137
- self.editor_layout = QW.QVBoxLayout(self)
138
-
139
- self.editor_layout.addWidget(self.colormap_widget)
140
- self.editor_layout.addWidget(self.tabs)
141
142
- self.setLayout(self.editor_layout)
+ layout = QW.QVBoxLayout(self)
+ layout.addWidget(self.colormap_widget)
+ layout.addWidget(self.tabs)
+ layout.addStretch(1)
+ self.setLayout(layout)
143
144
self.colormap_widget.HANDLE_SELECTED.connect(self.change_current_dataset)
145
self.colormap_widget.HANDLE_ADDED.connect(self.new_tab)
0 commit comments