summaryrefslogtreecommitdiff
path: root/scene/resources/default_theme
diff options
context:
space:
mode:
authormarynate <mary.w.nate@gmail.com>2015-01-15 13:28:55 +0800
committermarynate <mary.w.nate@gmail.com>2015-01-15 13:30:00 +0800
commit7c430d52e986d8ef00afbb16852e6647f0df3cc7 (patch)
tree199204f8c671c4d609964ac36d8f6bad73ca5ff3 /scene/resources/default_theme
parent2ca8b2683ea7cf3c80024cab841ac9d28959632b (diff)
Restore checkbutton margin to origin value, fixed issue in code search dialog
Diffstat (limited to 'scene/resources/default_theme')
-rw-r--r--scene/resources/default_theme/default_theme.cpp4
1 files changed, 2 insertions, 2 deletions
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<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 );