Compare commits

...

1 Commits

Author SHA1 Message Date
bug Lady bdab3713bc uncrumple settings window
to full size right away with no need to manually enlarge it
900 wide, less than 1024x78
2019-11-18 14:32:07 +01:00
1 changed files with 4 additions and 1 deletions

View File

@ -42,7 +42,10 @@ class SettingsDialog(QtGui.QDialog):
self.tabWidgetSettings.setCurrentIndex(
self.tabWidgetSettings.indexOf(self.tabNetworkSettings)
)
QtGui.QWidget.resize(self, QtGui.QWidget.sizeHint(self))
QtGui.QWidget.setMinimumSize(self, QtCore.QSize(900, 555))
QtGui.QWidget.setMaximumSize(self, QtCore.QSize(900, 555))
QtGui.QWidget.setBaseSize(self, QtCore.QSize(900, 555))
QtGui.QWidget.resize(self, 900, 555)
def adjust_from_config(self, config):
"""Adjust all widgets state according to config settings"""