mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-23 10:54:59 -05: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