Commit 4161a528 authored by Eike Ziller's avatar Eike Ziller
Browse files

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: default avatarErik Verbruggen <erik.verbruggen@digia.com>
parent 37e3bedb
......@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment