mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 10:33:12 +02:00
Make the max width on the proceed notification the width of the main window. Should help with plugins that create lots of buttons with lots of text.
This commit is contained in:
parent
cfd61e90a5
commit
082b92614f
1 changed files with 2 additions and 2 deletions
|
|
@ -195,8 +195,8 @@ def toggle_det_msg(self, *args):
|
|||
|
||||
def do_resize(self):
|
||||
sz = self.sizeHint() + QSize(100, 0)
|
||||
sz.setWidth(min(500, sz.width()))
|
||||
sz.setHeight(min(500, sz.height()))
|
||||
sz.setWidth(min(self.parent().width(), sz.width()))
|
||||
sz.setHeight(min(600, sz.height()))
|
||||
self.resize(sz)
|
||||
self.position_widget()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue