diff options
author | toger5 <toger5@hotmail.de> | 2017-08-19 17:30:48 +0200 |
---|---|---|
committer | toger5 <toger5@hotmail.de> | 2017-08-19 17:30:48 +0200 |
commit | 475502e6387486c107766de89d1f5c47e0733fd6 (patch) | |
tree | 33109f228d117afde1b4f4660492369ebaa50c4e /editor/plugins | |
parent | 5d85108f9448ac47b871f19c8af4652b7d3dea9d (diff) |
Removed style box border for script panel. Fixes #10410
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index fc89a4b9b4..6db732ba5d 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -1126,10 +1126,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")); - - Ref<StyleBox> sb = editor->get_gui_base()->get_stylebox("panel", "TabContainer")->duplicate(); - sb->set_default_margin(MARGIN_TOP, 0); - add_style_override("panel", sb); } break; default: @@ -2269,9 +2265,6 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) { members_overview_enabled = true; editor = p_editor; - Ref<StyleBox> sb = p_editor->get_gui_base()->get_stylebox("panel", "TabContainer")->duplicate(); - sb->set_default_margin(MARGIN_TOP, 0); - add_style_override("panel", sb); VBoxContainer *main_container = memnew(VBoxContainer); add_child(main_container); |