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.
2 parents dc51c3d + 23106aa commit c385e04Copy full SHA for c385e04
Orange/widgets/widget.py
@@ -479,6 +479,12 @@ def copy_to_clipboard(self):
479
def storeControlAreaVisibility(self, visible):
480
self.controlAreaVisible = visible
481
482
+ # Set minimum width to 1 (overrides minimumSizeHint) when control area
483
+ # is not visible to allow the main area to shrink further. Reset the minimum
484
+ # width with a 0 if control area is visible.
485
+ self.__splitter.widget(0).setMinimumWidth(int(not visible))
486
+ self.updateGeometry()
487
+
488
def __restoreWidgetGeometry(self, geometry):
489
# type: (bytes) -> bool
490
def _fullscreen_to_maximized(geometry):
0 commit comments