mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04: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
@ -195,8 +195,8 @@ class ProceedQuestion(QWidget):
|
||||
|
||||
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…
x
Reference in New Issue
Block a user