mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
Remove set_area_as_parent_rect and replace it by set_anchors_and_margins_preset(PRESET_WIDE)
This commit is contained in:
parent
92f062696a
commit
05bb8e0c10
32 changed files with 58 additions and 75 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue