diff options
| author | Rémi Verschelde | 2017-09-26 00:11:46 +0200 |
|---|---|---|
| committer | GitHub | 2017-09-26 00:11:46 +0200 |
| commit | f577efd47ed2f0aa801155756e4ba5d5ea2d5f2b (patch) | |
| tree | 05544efa89a521e0061f9ca82b57ccc69e0f5371 /editor/plugins/mesh_editor_plugin.cpp | |
| parent | e9e1753c3cf96015893d4d138d6f085995f00035 (diff) | |
| parent | 05bb8e0c106686f2ed5a9aad0f76ecc64fa5faa0 (diff) | |
| download | godot-f577efd47ed2f0aa801155756e4ba5d5ea2d5f2b.tar.gz godot-f577efd47ed2f0aa801155756e4ba5d5ea2d5f2b.tar.zst godot-f577efd47ed2f0aa801155756e4ba5d5ea2d5f2b.zip | |
Diffstat (limited to 'editor/plugins/mesh_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/mesh_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/mesh_editor_plugin.cpp b/editor/plugins/mesh_editor_plugin.cpp index a77f02234..b77563676 100644 --- a/editor/plugins/mesh_editor_plugin.cpp +++ b/editor/plugins/mesh_editor_plugin.cpp @@ -162,7 +162,7 @@ MeshEditor::MeshEditor() { HBoxContainer *hb = memnew(HBoxContainer); add_child(hb); - hb->set_area_as_parent_rect(2); + hb->set_anchors_and_margins_preset(Control::PRESET_WIDE, Control::PRESET_MODE_MINSIZE, 2); hb->add_spacer(); |
