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. --- editor/plugins/script_editor_plugin.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'editor/plugins/script_editor_plugin.cpp') diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index a529f152d..5015fab5e 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -1149,8 +1149,6 @@ void ScriptEditor::_notification(int p_what) { case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: { - tab_container->add_style_override("panel", editor->get_gui_base()->get_stylebox("ScriptPanel", "EditorStyles")); - help_search->set_icon(get_icon("HelpSearch", "EditorIcons")); site_search->set_icon(get_icon("Instance", "EditorIcons")); class_search->set_icon(get_icon("ClassList", "EditorIcons")); @@ -2210,7 +2208,6 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) { members_overview->set_v_size_flags(SIZE_EXPAND_FILL); tab_container = memnew(TabContainer); - tab_container->add_style_override("panel", p_editor->get_gui_base()->get_stylebox("ScriptPanel", "EditorStyles")); tab_container->set_tabs_visible(false); script_split->add_child(tab_container); -- cgit v1.2.3-70-g09d2