Explorar o código

Fix spinboxes bad look

Gilles Roudiere %!s(int64=8) %!d(string=hai) anos
pai
achega
f730846fe9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 		}