DolphinQt: Make mapping window spinboxes horizontally expanding.

This commit is contained in:
Jordan Woyak 2024-11-24 18:59:18 -06:00
parent e0c387416d
commit ea93b65d21
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);