Skip to content

Commit

Permalink
Merge pull request #13196 from jordan-woyak/expanding-numeric-settings
Browse files Browse the repository at this point in the history
DolphinQt: Make mapping window spinboxes horizontally expanding.
  • Loading branch information
JosJuice authored Dec 7, 2024
2 parents a5d1172 + ea93b65 commit 0a84d93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0a84d93

Please sign in to comment.