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 cf6b55e4f2
commit 01a7068f52

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");