Skip to content

Commit

Permalink
Change the form layout to fit the page
Browse files Browse the repository at this point in the history
  • Loading branch information
tumic0 committed Sep 7, 2024
1 parent 8d2ab42 commit e33c74b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/GUI/optionsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -529,10 +529,9 @@ QWidget *OptionsDialog::createDataPage()
sourceTab->setLayout(sourceTabLayout);
#endif // Q_OS_MAC

QHBoxLayout *pauseTypeLayout = new QHBoxLayout();
QVBoxLayout *pauseTypeLayout = new QVBoxLayout();
pauseTypeLayout->addWidget(_automaticPause);
pauseTypeLayout->addWidget(_manualPause);
pauseTypeLayout->addStretch();

QFormLayout *pauseValuesLayout = new QFormLayout();
pauseValuesLayout->addRow(tr("Detection:"), pauseTypeLayout);
Expand Down

0 comments on commit e33c74b

Please sign in to comment.