Gilles Roudiere пре 8 година
родитељ
комит
f730846fe9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      scene/gui/spin_box.cpp

+ 1 - 1
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;
 		}