summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-08-19 18:03:59 +0200
committerGitHub <noreply@github.com>2017-08-19 18:03:59 +0200
commit01e447f3df570ab6a43d43e4d354b0f4bc4370fa (patch)
treead28144bb1bd55be5033dd03ae4ab066c98f6c4d /editor
parent395544b4d09c3c28b3988eb42c567951974351dd (diff)
parent475502e6387486c107766de89d1f5c47e0733fd6 (diff)
Merge pull request #10449 from toger5/theme_redundant_border_script_panel_fix
Removed style box border for script panel. Fixes #10410
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/script_editor_plugin.cpp7
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);