mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-15 06:58:37 +02:00
DolphinQt: Limit numeric widget width
This commit is contained in:
@ -15,6 +15,8 @@ MappingDouble::MappingDouble(MappingWidget* parent, ControllerEmu::NumericSettin
|
||||
setRange(m_setting.GetMinValue(), m_setting.GetMaxValue());
|
||||
setDecimals(2);
|
||||
|
||||
setFixedWidth(WIDGET_MAX_WIDTH);
|
||||
|
||||
if (const auto ui_suffix = m_setting.GetUISuffix())
|
||||
setSuffix(QStringLiteral(" ") + tr(ui_suffix));
|
||||
|
||||
|
Reference in New Issue
Block a user