diff options
| author | Gilles Roudiere | 2017-08-21 21:40:11 +0200 |
|---|---|---|
| committer | Gilles Roudiere | 2017-08-21 21:48:05 +0200 |
| commit | f730846fe9760abbfc93b50f4da71c080ab91bd4 (patch) | |
| tree | f60a529be0c4e3616fac8917b9302c9c81b5636d | |
| parent | 4717d37bfa867d8cdcd4805967324978da6701b7 (diff) | |
| download | godot-f730846fe9760abbfc93b50f4da71c080ab91bd4.tar.gz godot-f730846fe9760abbfc93b50f4da71c080ab91bd4.tar.zst godot-f730846fe9760abbfc93b50f4da71c080ab91bd4.zip | |
| -rw-r--r-- | scene/gui/spin_box.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/spin_box.cpp b/scene/gui/spin_box.cpp index c5b9df15b..751edc5a4 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; } |
