You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Some control fixes and removed useless lines
This commit is contained in:
@@ -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_margin(MARGIN_RIGHT, -14);
|
||||
edit_mode->add_item("Tiles");
|
||||
edit_mode->add_item("Areas");
|
||||
hb->add_child(edit_mode);
|
||||
|
||||
Reference in New Issue
Block a user