mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
...
This commit is contained in:
parent
b6ef1092ce
commit
134035b18a
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user