mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 06:51:17 +01:00
DolphinQt: Make mapping window spinboxes horizontally expanding.
This commit is contained in:
parent
e0c387416d
commit
ea93b65d21
@ -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