[view] improvement: settings window size rules moved to stylesheet files

This commit is contained in:
Vinicius Moreira
2022-05-12 14:13:12 -03:00
parent ea3bb062ef
commit af46feb64e
14 changed files with 225 additions and 137 deletions

View File

@@ -83,6 +83,7 @@ class SettingsWindow(QWidget):
def show(self):
super(SettingsWindow, self).show()
centralize(self)
self.setMinimumWidth(int(self.sizeHint().width()))
def closeEvent(self, event):
if self.window and self.window.settings_window == self: