1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-06 06:43:22 +02:00

Change the form layout to fit the page

This commit is contained in:
Martin Tůma 2024-09-07 11:04:10 +02:00
parent 8d2ab42c1c
commit e33c74bdd7

View File

@ -529,10 +529,9 @@ QWidget *OptionsDialog::createDataPage()
sourceTab->setLayout(sourceTabLayout); sourceTab->setLayout(sourceTabLayout);
#endif // Q_OS_MAC #endif // Q_OS_MAC
QHBoxLayout *pauseTypeLayout = new QHBoxLayout(); QVBoxLayout *pauseTypeLayout = new QVBoxLayout();
pauseTypeLayout->addWidget(_automaticPause); pauseTypeLayout->addWidget(_automaticPause);
pauseTypeLayout->addWidget(_manualPause); pauseTypeLayout->addWidget(_manualPause);
pauseTypeLayout->addStretch();
QFormLayout *pauseValuesLayout = new QFormLayout(); QFormLayout *pauseValuesLayout = new QFormLayout();
pauseValuesLayout->addRow(tr("Detection:"), pauseTypeLayout); pauseValuesLayout->addRow(tr("Detection:"), pauseTypeLayout);