summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRalf Hölzemer <r.hoelzemer@posteo.de>2014-10-08 00:45:39 +0200
committermarynate <mary.w.nate@gmail.com>2015-01-15 13:29:59 +0800
commit7f20b864cd08280a38f99a0a968ed4832d32a026 (patch)
treea59118fb402ea9d7be0737437384300a02a2ed81 /scene
parente7893b404ecfa6785f2441489f7a4986f280cd55 (diff)
Tweak Button margins & small fix for ToolButton
Diffstat (limited to 'scene')
-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 0dd915e741..1f0b5f1545 100644
--- a/scene/resources/default_theme/default_theme.cpp
+++ b/scene/resources/default_theme/default_theme.cpp
@@ -206,7 +206,7 @@ void make_default_theme() {
// Button
- t->set_stylebox("normal","Button", make_stylebox( button_normal_png,4,4,4,4,16,4,16,4) );
+ t->set_stylebox("normal","Button", make_stylebox( button_normal_png,4,4,4,4,8,4,8,4) );
t->set_stylebox("pressed","Button", make_stylebox( button_pressed_png,4,4,4,4) );
t->set_stylebox("hover","Button", make_stylebox( button_hover_png,4,4,4,4) );
t->set_stylebox("disabled","Button", make_stylebox( button_disabled_png,4,4,4,4) );
@@ -250,7 +250,7 @@ void make_default_theme() {
tb_empty->set_default_margin(MARGIN_BOTTOM,4);
t->set_stylebox("normal","ToolButton", tb_empty);
- t->set_stylebox("pressed","ToolButton", make_stylebox( button_pressed_png,4,4,4,4,8) );
+ t->set_stylebox("pressed","ToolButton", make_stylebox( button_pressed_png,4,4,4,4) );
t->set_stylebox("hover","ToolButton", make_stylebox( button_normal_png,4,4,4,4) );
t->set_stylebox("disabled","ToolButton", make_empty_stylebox(4,4,4,4) );
t->set_stylebox("focus","ToolButton", focus );