Remove unecessary anchors&margins set causing bad display (sons of containers)

This commit is contained in:
Gilles Roudiere 2017-09-26 18:56:52 +02:00
parent ccb4a6acee
commit 6f185cc9f7
7 changed files with 1 additions and 9 deletions

View file

@ -3268,7 +3268,6 @@ VisualScriptEditor::VisualScriptEditor() {
graph = memnew(GraphEdit);
add_child(graph);
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");
graph->connect("_end_node_move", this, "_end_node_move");