Replace GUI anchor type by a float between 0 and 1
This commit is contained in:
parent
9575dbdf78
commit
0d35d4d53b
27 changed files with 117 additions and 169 deletions
|
|
@ -1203,7 +1203,7 @@ GridMapEditor::GridMapEditor(EditorNode *p_editor) {
|
|||
edit_mode = memnew(OptionButton);
|
||||
edit_mode->set_area_as_parent_rect();
|
||||
edit_mode->set_anchor_and_margin(MARGIN_BOTTOM, ANCHOR_BEGIN, 24);
|
||||
edit_mode->set_anchor_and_margin(MARGIN_RIGHT, ANCHOR_END, 14);
|
||||
edit_mode->set_anchor_and_margin(MARGIN_RIGHT, ANCHOR_END, -14);
|
||||
edit_mode->add_item("Tiles");
|
||||
edit_mode->add_item("Areas");
|
||||
hb->add_child(edit_mode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue