mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
43bf3cc68d
commit
4c99108b03
@ -106,6 +106,8 @@ class MetadataSingleDialogBase(ResizableDialog):
|
|||||||
# Ensure all PushButtons stay the same consistent height throughout this
|
# Ensure all PushButtons stay the same consistent height throughout this
|
||||||
# dialog. Without this, the buttons inside scrollareas get shrunk,
|
# dialog. Without this, the buttons inside scrollareas get shrunk,
|
||||||
# while the buttons outside them do not, leading to weirdness.
|
# 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()
|
ht = self.title.height()
|
||||||
for but in self.findChildren(QPushButton):
|
for but in self.findChildren(QPushButton):
|
||||||
but.setMaximumHeight(ht)
|
but.setMaximumHeight(ht)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user