1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-14 19:04:23 +02:00

Some more options dialog polishing on OS X

This commit is contained in:
2021-09-02 12:27:20 +02:00
parent 394fcf6d4d
commit f934df59e4
2 changed files with 9 additions and 0 deletions

View File

@ -781,6 +781,9 @@ OptionsDialog::OptionsDialog(Options &options, Units units, QWidget *parent)
QVBoxLayout *layout = new QVBoxLayout;
layout->addLayout(contentLayout);
layout->addWidget(buttonBox);
#ifdef Q_OS_MAC
layout->setSizeConstraint(QLayout::SetFixedSize);
#endif // Q_OS_MAC
setLayout(layout);
setWindowTitle(tr("Options"));