소스 검색

Fix spinboxes bad look

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