diff options
author | Ralf Hölzemer <r.hoelzemer@posteo.de> | 2014-09-21 02:35:01 +0200 |
---|---|---|
committer | marynate <mary.w.nate@gmail.com> | 2015-01-15 13:29:56 +0800 |
commit | d8f453cb39b06399282b0408e9bccd97e9340074 (patch) | |
tree | 00aece1c1215ae62ff34606c18552fcf325db1f8 /scene | |
parent | df4141867740cde7df88c0956c99ce831a115915 (diff) |
Missing files and Tab changes
Diffstat (limited to 'scene')
-rw-r--r-- | scene/resources/default_theme/default_theme.cpp | 12 | ||||
-rw-r--r-- | scene/resources/default_theme/scroll_bg.png | bin | 0 -> 215 bytes | |||
-rw-r--r-- | scene/resources/default_theme/scroll_grabber.png | bin | 0 -> 266 bytes | |||
-rw-r--r-- | scene/resources/default_theme/scroll_grabber_hl.png | bin | 0 -> 286 bytes |
4 files changed, 6 insertions, 6 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index 47b94e5d6a..efcd10eb03 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -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) ); + t->set_stylebox("pressed","ToolButton", make_stylebox( button_pressed_png,4,4,4,4,8) ); 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 ); @@ -361,7 +361,7 @@ void make_default_theme() { t->set_color("cursor_color","LineEdit", control_font_color_hover ); t->set_color("selection_color","LineEdit", font_color_selection ); - t->set_constant("minimum_spaces","LineEdit", 8 ); + t->set_constant("minimum_spaces","LineEdit", 12 ); @@ -595,8 +595,8 @@ void make_default_theme() { tc_sb->set_expand_margin_size(MARGIN_TOP,2); tc_sb->set_default_margin(MARGIN_TOP,8); - t->set_stylebox("tab_fg","TabContainer", make_stylebox( tab_current_png,4,4,4,4,8,4,8,4) ); - t->set_stylebox("tab_bg","TabContainer", make_stylebox( tab_behind_png,4,4,4,4,8,6,8,4) ); + t->set_stylebox("tab_fg","TabContainer", make_stylebox( tab_current_png,4,4,4,4,16,4,16,4) ); + t->set_stylebox("tab_bg","TabContainer", make_stylebox( tab_behind_png,4,4,4,4,16,6,16,4) ); t->set_stylebox("panel","TabContainer", tc_sb ); t->set_icon("increment","TabContainer",make_icon( scroll_button_right_png)); @@ -619,8 +619,8 @@ void make_default_theme() { // Tabs - t->set_stylebox("tab_fg","Tabs", make_stylebox( tab_current_png,4,4,4,4) ); - t->set_stylebox("tab_bg","Tabs", make_stylebox( tab_behind_png,4,4,4,4) ); + t->set_stylebox("tab_fg","Tabs", make_stylebox( tab_current_png,4,4,4,4,16,4,16,4) ); + t->set_stylebox("tab_bg","Tabs", make_stylebox( tab_behind_png,4,4,4,4,16,6,16,4) ); t->set_stylebox("panel","Tabs", make_stylebox( tab_container_bg_png,4,4,4,4) ); t->set_font("font","Tabs", default_font ); diff --git a/scene/resources/default_theme/scroll_bg.png b/scene/resources/default_theme/scroll_bg.png Binary files differnew file mode 100644 index 0000000000..53797886cd --- /dev/null +++ b/scene/resources/default_theme/scroll_bg.png diff --git a/scene/resources/default_theme/scroll_grabber.png b/scene/resources/default_theme/scroll_grabber.png Binary files differnew file mode 100644 index 0000000000..16beda1514 --- /dev/null +++ b/scene/resources/default_theme/scroll_grabber.png diff --git a/scene/resources/default_theme/scroll_grabber_hl.png b/scene/resources/default_theme/scroll_grabber_hl.png Binary files differnew file mode 100644 index 0000000000..acfb7c835b --- /dev/null +++ b/scene/resources/default_theme/scroll_grabber_hl.png |