forked from qt-creator/qt-creator
Increase preference dialog height by 10% on Mac
Widgets and layouts take more space on Mac than on the other platforms, and that results in developers designing pages that are too heigh for Mac even though they fit on other platforms. Since redesigning preference pages so they also fit on Mac all the time is not ideal, simply account for the larger needed space. Change-Id: Ib8483713f562436bc9a86063f345ae4e44473608 Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
@@ -400,6 +400,8 @@ void SettingsDialog::createGui()
|
||||
mainGridLayout->setColumnStretch(1, 4);
|
||||
setLayout(mainGridLayout);
|
||||
setMinimumSize(1000, 550);
|
||||
if (Utils::HostOsInfo::isMacHost())
|
||||
setMinimumHeight(minimumHeight() * 1.1);
|
||||
}
|
||||
|
||||
SettingsDialog::~SettingsDialog()
|
||||
|
||||
Reference in New Issue
Block a user