mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 00:49:55 +00:00
UI Nits: Geometry and setUnifiedTitleAndToolBar
The restore / set geometry for the config dialog and mainwindow was 'adjusted' by setUnifiedTitleAndToolBarOnMac. This meant that when restoring geometry at startup the window would gradually decrease in size (by roughly 42 pixels).
This commit is contained in:
@@ -17,9 +17,9 @@ ConfigDialog::ConfigDialog(QDir _home, Zones *_zones, MainWindow *mainWindow) :
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
setUnifiedTitleAndToolBarOnMac(true);
|
||||
QToolBar *head = addToolBar("Preferences");
|
||||
setFixedSize(525,600);
|
||||
setFixedSize(525,540);
|
||||
setUnifiedTitleAndToolBarOnMac(true);
|
||||
#else
|
||||
QToolBar *head = addToolBar("Options");
|
||||
head->setMovable(false); // oops!
|
||||
|
||||
Reference in New Issue
Block a user