From b6062852193baadc48ed0055f479b9895f4fca56 Mon Sep 17 00:00:00 2001 From: toger5 Date: Sat, 2 Sep 2017 18:28:35 +0200 Subject: 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. --- scene/resources/default_theme/default_theme.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scene/resources/default_theme/default_theme.cpp') 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, const Ref &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); -- cgit v1.2.3