mirror of
https://github.com/godotengine/godot.git
synced 2025-10-26 11:14:17 +00:00
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.
This commit is contained in:
parent
0f62db23ac
commit
b606285219
4 changed files with 11 additions and 29 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue