From 41cc85fb201f2b83461a52300aeca9a2ac0b2bcc Mon Sep 17 00:00:00 2001 From: volzhs Date: Thu, 7 Sep 2017 06:25:57 +0900 Subject: Fit script editor grid with others --- editor/plugins/script_editor_plugin.cpp | 3 +++ 1 file changed, 3 insertions(+) (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 04be1ba4a..6f03d086c 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -2416,6 +2416,9 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) { use_space_indentation = false; ScriptServer::edit_request_func = _open_script_request; + + add_style_override("panel", editor->get_gui_base()->get_stylebox("ScriptEditorPanel", "EditorStyles")); + tab_container->add_style_override("panel", editor->get_gui_base()->get_stylebox("ScriptEditor", "EditorStyles")); } ScriptEditor::~ScriptEditor() { -- cgit v1.2.3-70-g09d2