From 7c430d52e986d8ef00afbb16852e6647f0df3cc7 Mon Sep 17 00:00:00 2001 From: marynate Date: Thu, 15 Jan 2015 13:28:55 +0800 Subject: Restore checkbutton margin to origin value, fixed issue in code search dialog --- scene/resources/default_theme/default_theme.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scene/resources/default_theme') diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index 8264601786..4d1e9896db 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -307,8 +307,8 @@ void make_default_theme() { Ref 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 ); -- cgit v1.2.3