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…
Reference in New Issue