From ea93b65d217db7956efc1d58c2477afd7f3fbe4f Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Sun, 24 Nov 2024 18:59:18 -0600 Subject: [PATCH] DolphinQt: Make mapping window spinboxes horizontally expanding. --- Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp b/Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp index 96a5040704..ae4095a82c 100644 --- a/Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp +++ b/Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp @@ -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);