diff options
author | toger5 <toger5@hotmail.de> | 2017-09-02 18:28:35 +0200 |
---|---|---|
committer | toger5 <toger5@hotmail.de> | 2017-09-02 18:28:35 +0200 |
commit | b6062852193baadc48ed0055f479b9895f4fca56 (patch) | |
tree | 099b1c2fb6cae2787f44fdcd85b45844e3c595c4 /scene/resources | |
parent | 0f62db23accdc88284a6e694c3cb86142162dde7 (diff) |
Unified script panel backgrounds.
- simplefied it with using the new rtl.
- removed ("ScriptPanel", "EditorStyles") for since rtl now can be used
- unified backgrounds when script editor color is set to transparent => option to set background color adapt to theme is deprecated.
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/default_theme/default_theme.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index 4ff635edeb..fdea5960e5 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -794,6 +794,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const // RichTextLabel theme->set_stylebox("focus", "RichTextLabel", focus); + theme->set_stylebox("normal", "RichTextLabel", make_stylebox(tree_bg_png, 3, 3, 3, 3)); theme->set_font("normal_font", "RichTextLabel", default_font); theme->set_font("bold_font", "RichTextLabel", default_font); |