Merge pull request #13196 from jordan-woyak/expanding-numeric-settings

DolphinQt: Make mapping window spinboxes horizontally expanding.
This commit is contained in:
JosJuice 2024-12-07 11:14:55 +01:00 committed by GitHub
commit 0a84d93a8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -228,6 +228,8 @@ void MappingWidget::AddSettingWidgets(QFormLayout* layout, ControllerEmu::Contro
const auto hbox = new QHBoxLayout;
hbox->addWidget(setting_widget);
setting_widget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
hbox->addWidget(CreateSettingAdvancedMappingButton(*setting));
layout->addRow(tr(setting->GetUIName()), hbox);