mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 08:55:07 +02:00
...
This commit is contained in:
parent
43bf3cc68d
commit
4c99108b03
1 changed files with 2 additions and 0 deletions
|
|
@ -106,6 +106,8 @@ def fix_push_buttons(self, *args):
|
|||
# Ensure all PushButtons stay the same consistent height throughout this
|
||||
# dialog. Without this, the buttons inside scrollareas get shrunk,
|
||||
# while the buttons outside them do not, leading to weirdness.
|
||||
# Further, buttons with and without icons have different minimum sizes
|
||||
# so things look even more out of whack.
|
||||
ht = self.title.height()
|
||||
for but in self.findChildren(QPushButton):
|
||||
but.setMaximumHeight(ht)
|
||||
|
|
|
|||
Loading…
Reference in a new issue