mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Make the fixed size of the Polish dialog a lower bound with its sizeHint()
This commit is contained in:
parent
737a7ceeb8
commit
c323aeb698
@ -145,8 +145,11 @@ class Polish(QDialog): # {{{
|
||||
connect_lambda(b.clicked, self, lambda self: self.select_all(False))
|
||||
l.addWidget(bb, count+1, 1, 1, -1)
|
||||
self.setup_load_button()
|
||||
self.resize(self.sizeHint())
|
||||
|
||||
self.resize(QSize(950, 600))
|
||||
def sizeHint(self):
|
||||
sz = super().sizeHint()
|
||||
return QSize(max(950, sz.width()), max(600, sz.height()))
|
||||
|
||||
def select_all(self, enable):
|
||||
for action in self.all_actions:
|
||||
|
Loading…
x
Reference in New Issue
Block a user