Merge pull request #7900 from spycrab/qt_general_align

Qt/GeneralPane: Align "Auto Update" on macOS
This commit is contained in:
spycrab 2019-03-16 17:57:23 +01:00 committed by GitHub
commit a40b5f9133
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -175,6 +175,9 @@ void GeneralPane::CreateAutoUpdate()
auto_update_group->setLayout(layout); auto_update_group->setLayout(layout);
m_main_layout->addWidget(auto_update_group); m_main_layout->addWidget(auto_update_group);
layout->setFormAlignment(Qt::AlignLeft | Qt::AlignTop);
layout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
m_combobox_update_track = new QComboBox(this); m_combobox_update_track = new QComboBox(this);
layout->addRow(tr("&Auto Update:"), m_combobox_update_track); layout->addRow(tr("&Auto Update:"), m_combobox_update_track);