Kaynağa Gözat

Fix spinboxes bad look

Gilles Roudiere 8 yıl önce
ebeveyn
işleme
f730846fe9
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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;
 		}