소스 검색

Restore checkbutton margin to origin value, fixed issue in code search dialog

marynate 10 년 전
부모
커밋
7c430d52e9
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      scene/resources/default_theme/default_theme.cpp

+ 2 - 2
scene/resources/default_theme/default_theme.cpp

@@ -307,8 +307,8 @@ void make_default_theme() {
 	Ref<StyleBox> cb_empty = memnew( StyleBoxEmpty );
 	cb_empty->set_default_margin(MARGIN_LEFT,6);
 	cb_empty->set_default_margin(MARGIN_RIGHT,70);
-	cb_empty->set_default_margin(MARGIN_TOP,6);
-	cb_empty->set_default_margin(MARGIN_BOTTOM,6);
+	cb_empty->set_default_margin(MARGIN_TOP,4);
+	cb_empty->set_default_margin(MARGIN_BOTTOM,4);
 
 	t->set_stylebox("normal","CheckButton", cb_empty );
 	t->set_stylebox("pressed","CheckButton", cb_empty );