don't mess with widget maximum size
avoids some resize dance or widgets misteriously growing
This commit is contained in:
parent
8db63c42a9
commit
bff36e9d25
@ -306,8 +306,6 @@ void Dialog::syncToGraphicsWidget()
|
||||
QDesktopWidget *desktop = QApplication::desktop();
|
||||
QSize maxSize = desktop->availableGeometry(desktop->screenNumber(this)).size();
|
||||
|
||||
graphicsWidget->setMaximumSize(maxSize - QSize(left + right, top + bottom).boundedTo(graphicsWidget->effectiveSizeHint(Qt::MaximumSize).toSize()));
|
||||
|
||||
setMinimumSize(0, 0);
|
||||
setMaximumSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user