Merge pull request #7112 from spycrab/qt_macos_layout
Qt/macOS: Make configuration layout consistent with other platforms
This commit is contained in:
commit
e8c1e5af63
|
@ -88,6 +88,8 @@ void AudioPane::CreateWidgets()
|
|||
m_dolby_pro_logic->setToolTip(
|
||||
tr("Enables Dolby Pro Logic II emulation using 5.1 surround. Certain backends only."));
|
||||
|
||||
backend_layout->setFormAlignment(Qt::AlignLeft | Qt::AlignTop);
|
||||
backend_layout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
|
||||
backend_layout->addRow(m_backend_label, m_backend_combo);
|
||||
if (m_latency_control_supported)
|
||||
backend_layout->addRow(m_latency_label, m_latency_spin);
|
||||
|
|
|
@ -126,6 +126,8 @@ void GeneralPane::CreateBasic()
|
|||
basic_group_layout->addWidget(m_checkbox_cheats);
|
||||
|
||||
auto* speed_limit_layout = new QFormLayout;
|
||||
speed_limit_layout->setFormAlignment(Qt::AlignLeft | Qt::AlignTop);
|
||||
speed_limit_layout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
|
||||
basic_group_layout->addLayout(speed_limit_layout);
|
||||
|
||||
m_combobox_speedlimit = new QComboBox();
|
||||
|
|
|
@ -99,6 +99,9 @@ void InterfacePane::CreateUI()
|
|||
m_main_layout->addWidget(groupbox);
|
||||
|
||||
auto* combobox_layout = new QFormLayout;
|
||||
combobox_layout->setFormAlignment(Qt::AlignLeft | Qt::AlignTop);
|
||||
combobox_layout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
|
||||
|
||||
groupbox_layout->addLayout(combobox_layout);
|
||||
|
||||
m_combobox_language = MakeLanguageComboBox();
|
||||
|
|
Loading…
Reference in New Issue