Selaa lähdekoodia

Fix spinboxes bad look

Gilles Roudiere 8 vuotta sitten
vanhempi
commit
f730846fe9
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;
 		}