From f730846fe9760abbfc93b50f4da71c080ab91bd4 Mon Sep 17 00:00:00 2001 From: Gilles Roudiere Date: Mon, 21 Aug 2017 21:40:11 +0200 Subject: Fix spinboxes bad look --- scene/gui/spin_box.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/gui/spin_box.cpp b/scene/gui/spin_box.cpp index c5b9df15b9..751edc5a43 100644 --- a/scene/gui/spin_box.cpp +++ b/scene/gui/spin_box.cpp @@ -192,7 +192,7 @@ void SpinBox::_notification(int p_what) { int w = updown->get_width(); if (w != last_w) { - line_edit->set_margin(MARGIN_RIGHT, w); + line_edit->set_margin(MARGIN_RIGHT, -w); last_w = w; } -- cgit v1.2.3