summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorGilles Roudiere <gilles.roudiere@gmail.com>2017-08-21 21:40:11 +0200
committerGilles Roudiere <gilles.roudiere@gmail.com>2017-08-21 21:48:05 +0200
commitf730846fe9760abbfc93b50f4da71c080ab91bd4 (patch)
treef60a529be0c4e3616fac8917b9302c9c81b5636d /scene
parent4717d37bfa867d8cdcd4805967324978da6701b7 (diff)
Fix spinboxes bad look
Diffstat (limited to 'scene')
-rw-r--r--scene/gui/spin_box.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}