summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2018-07-10 22:10:53 +0200
committerGitHub <noreply@github.com>2018-07-10 22:10:53 +0200
commitb69422162d5039d0aeee4957c9d85c29ad034c6c (patch)
treede7ae41264288dbbfb0592084144b6a90984cd42
parentc3c7391ebb0cc7662704adc2b9cffcf56f43a6d1 (diff)
parente0510369d693101e8f50083474ac329920a0fcb2 (diff)
Merge pull request #20084 from guilhermefelipecgs/fix_visual_script_editor
Fix visual script editor interface
-rw-r--r--modules/visual_script/visual_script_editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/visual_script/visual_script_editor.cpp b/modules/visual_script/visual_script_editor.cpp
index 0618064ea6..873cc293c9 100644
--- a/modules/visual_script/visual_script_editor.cpp
+++ b/modules/visual_script/visual_script_editor.cpp
@@ -3389,6 +3389,7 @@ VisualScriptEditor::VisualScriptEditor() {
graph = memnew(GraphEdit);
add_child(graph);
+ graph->set_v_size_flags(Control::SIZE_EXPAND_FILL);
graph->set_anchors_and_margins_preset(Control::PRESET_WIDE);
graph->connect("node_selected", this, "_node_selected");
graph->connect("_begin_node_move", this, "_begin_node_move");