diff options
-rw-r--r-- | src/main/python/utils/toolbar.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/python/utils/toolbar.py b/src/main/python/utils/toolbar.py index 29adb83..220504b 100644 --- a/src/main/python/utils/toolbar.py +++ b/src/main/python/utils/toolbar.py @@ -81,7 +81,7 @@ class toolbar(QDockWidget): parent = self.parentWidget() #used to get parent dimensions self.layout.setDirection(QBoxLayout.TopToBottom) # here so that a horizontal toolbar can be implemented later # self.setFixedHeight(self.height()) #span available height - self.searchBox.setMinimumWidth(.15*parent.width()) + self.searchBox.setMinimumWidth(.18*parent.width()) width = self.width() scrollBar = self.diagArea.verticalScrollBar() height = self.diagAreaLayout.heightForWidth(width) @@ -90,7 +90,7 @@ class toolbar(QDockWidget): # the following line, sets the required height for the current width, so that blank space doesnt occur self.diagAreaWidget.setMinimumHeight(height) - self.setMinimumWidth(.18*parent.width()) #12% of parent width + self.setMinimumWidth(.2*parent.width()) #12% of parent width # self.setMinimumWidth(self.diagAreaLayout.minimumSize().width()) #12% of parent width self.diagAreaWidget.setLayout(self.diagAreaLayout) self.diagArea.setWidget(self.diagAreaWidget) |