Fix visual script editor interface
This commit is contained in:
parent
27b70914e4
commit
e0510369d6
1 changed files with 1 additions and 0 deletions
|
@ -3389,6 +3389,7 @@ VisualScriptEditor::VisualScriptEditor() {
|
||||||
|
|
||||||
graph = memnew(GraphEdit);
|
graph = memnew(GraphEdit);
|
||||||
add_child(graph);
|
add_child(graph);
|
||||||
|
graph->set_v_size_flags(Control::SIZE_EXPAND_FILL);
|
||||||
graph->set_anchors_and_margins_preset(Control::PRESET_WIDE);
|
graph->set_anchors_and_margins_preset(Control::PRESET_WIDE);
|
||||||
graph->connect("node_selected", this, "_node_selected");
|
graph->connect("node_selected", this, "_node_selected");
|
||||||
graph->connect("_begin_node_move", this, "_begin_node_move");
|
graph->connect("_begin_node_move", this, "_begin_node_move");
|
||||||
|
|
Loading…
Reference in a new issue