mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
Merge pull request #13196 from jordan-woyak/expanding-numeric-settings
DolphinQt: Make mapping window spinboxes horizontally expanding.
This commit is contained in:
commit
0a84d93a8e
@ -228,6 +228,8 @@ void MappingWidget::AddSettingWidgets(QFormLayout* layout, ControllerEmu::Contro
|
|||||||
const auto hbox = new QHBoxLayout;
|
const auto hbox = new QHBoxLayout;
|
||||||
|
|
||||||
hbox->addWidget(setting_widget);
|
hbox->addWidget(setting_widget);
|
||||||
|
setting_widget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
||||||
|
|
||||||
hbox->addWidget(CreateSettingAdvancedMappingButton(*setting));
|
hbox->addWidget(CreateSettingAdvancedMappingButton(*setting));
|
||||||
|
|
||||||
layout->addRow(tr(setting->GetUIName()), hbox);
|
layout->addRow(tr(setting->GetUIName()), hbox);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user