aboutsummaryrefslogtreecommitdiff
path: root/editor/script_editor_debugger.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-09-17 23:06:38 +0200
committerGitHub2017-09-17 23:06:38 +0200
commitbc005a57d38137b062e0ccc26467353f53556930 (patch)
tree7540e42298126ac776926bc8bf1ca191d08a3484 /editor/script_editor_debugger.cpp
parentfba938e5740c017fa2d6180c15cae852608ad701 (diff)
parentb37e869c89208a7b7f04b95bbba36ea57d7fb8fc (diff)
downloadgodot-bc005a57d38137b062e0ccc26467353f53556930.tar.gz
godot-bc005a57d38137b062e0ccc26467353f53556930.tar.zst
godot-bc005a57d38137b062e0ccc26467353f53556930.zip
Diffstat (limited to 'editor/script_editor_debugger.cpp')
-rw-r--r--editor/script_editor_debugger.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp
index 284b25801..9a6449727 100644
--- a/editor/script_editor_debugger.cpp
+++ b/editor/script_editor_debugger.cpp
@@ -1622,8 +1622,9 @@ ScriptEditorDebugger::ScriptEditorDebugger(EditorNode *p_editor) {
tabs->add_style_override("panel", editor->get_gui_base()->get_stylebox("DebuggerPanel", "EditorStyles"));
tabs->add_style_override("tab_fg", editor->get_gui_base()->get_stylebox("DebuggerTabFG", "EditorStyles"));
tabs->add_style_override("tab_bg", editor->get_gui_base()->get_stylebox("DebuggerTabBG", "EditorStyles"));
- tabs->set_v_size_flags(SIZE_EXPAND_FILL);
tabs->set_area_as_parent_rect();
+ tabs->set_margin(MARGIN_LEFT, -EditorNode::get_singleton()->get_gui_base()->get_stylebox("panel", "TabContainer")->get_margin(MARGIN_LEFT));
+ tabs->set_margin(MARGIN_RIGHT, EditorNode::get_singleton()->get_gui_base()->get_stylebox("panel", "TabContainer")->get_margin(MARGIN_LEFT));
add_child(tabs);
{ //debugger