This commit is contained in:
Kovid Goyal 2017-08-23 23:24:50 +05:30
parent b6ef1092ce
commit 134035b18a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -178,7 +178,7 @@ class Config(QDialog, Ui_Dialog):
def sizeHint(self):
desktop = QCoreApplication.instance().desktop()
geom = desktop.availableGeometry(self)
nh, nw = max(300, geom.height()-50), max(400, geom.width()-70)
nh, nw = max(300, geom.height()-100), max(400, geom.width()-70)
return QSize(nw, nh)
def restore_defaults(self):