From 7f20b864cd08280a38f99a0a968ed4832d32a026 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20H=C3=B6lzemer?= Date: Wed, 8 Oct 2014 00:45:39 +0200 Subject: Tweak Button margins & small fix for ToolButton --- scene/resources/default_theme/default_theme.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scene') 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 ); -- cgit v1.2.3