diff options
author | Gilles Roudiere <gilles.roudiere@gmail.com> | 2017-09-22 00:12:33 +0200 |
---|---|---|
committer | Gilles Roudiere <gilles.roudiere@laas.fr> | 2017-09-22 11:39:44 +0200 |
commit | 05bb8e0c106686f2ed5a9aad0f76ecc64fa5faa0 (patch) | |
tree | 8ab5d7e6651f48d1a19a7f7d7586c8bcce43628d /modules/visual_script/visual_script_editor.cpp | |
parent | 92f062696adc5efee2355259f42f5462ec42a605 (diff) |
Remove set_area_as_parent_rect and replace it by set_anchors_and_margins_preset(PRESET_WIDE)
Diffstat (limited to 'modules/visual_script/visual_script_editor.cpp')
-rw-r--r-- | modules/visual_script/visual_script_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/visual_script/visual_script_editor.cpp b/modules/visual_script/visual_script_editor.cpp index d0ab29f184..eea294e631 100644 --- a/modules/visual_script/visual_script_editor.cpp +++ b/modules/visual_script/visual_script_editor.cpp @@ -3267,7 +3267,7 @@ VisualScriptEditor::VisualScriptEditor() { graph = memnew(GraphEdit); add_child(graph); - graph->set_area_as_parent_rect(); + graph->set_anchors_and_margins_preset(Control::PRESET_WIDE); graph->set_h_size_flags(SIZE_EXPAND_FILL); graph->connect("node_selected", this, "_node_selected"); graph->connect("_begin_node_move", this, "_begin_node_move"); |