diff --git a/src/openrct2-ui/scripting/CustomWindow.cpp b/src/openrct2-ui/scripting/CustomWindow.cpp index 42359855df..f1a8e9ede0 100644 --- a/src/openrct2-ui/scripting/CustomWindow.cpp +++ b/src/openrct2-ui/scripting/CustomWindow.cpp @@ -1062,25 +1062,25 @@ namespace OpenRCT2::Ui::Windows widget.flags |= WIDGET_FLAGS::TEXT_IS_STRING; widgetList.push_back(widget); - // Add the decrement button + // Add the increment button widget = {}; widget.type = WindowWidgetType::Button; widget.colour = 1; - widget.left = desc.X + desc.Width - 26; - widget.right = widget.left + 12; + widget.left = desc.X + desc.Width - 13; + widget.right = widget.left + 11; widget.top = desc.Y + 1; widget.bottom = desc.Y + desc.Height - 2; - widget.text = STR_NUMERIC_DOWN; + widget.text = STR_NUMERIC_UP; widget.tooltip = STR_NONE; if (desc.IsDisabled) widget.flags |= WIDGET_FLAGS::IS_DISABLED; widget.flags |= WIDGET_FLAGS::IS_HOLDABLE; widgetList.push_back(widget); - // Add the increment button - widget.left = desc.X + desc.Width - 13; - widget.right = widget.left + 11; - widget.text = STR_NUMERIC_UP; + // Add the decrement button + widget.left = desc.X + desc.Width - 26; + widget.right = widget.left + 12; + widget.text = STR_NUMERIC_DOWN; widgetList.push_back(widget); } else if (desc.Type == "textbox")