Rename Control margin to offset
This commit is contained in:
@ -137,7 +137,7 @@ MeshEditor::MeshEditor() {
|
||||
|
||||
HBoxContainer *hb = memnew(HBoxContainer);
|
||||
add_child(hb);
|
||||
hb->set_anchors_and_margins_preset(Control::PRESET_WIDE, Control::PRESET_MODE_MINSIZE, 2);
|
||||
hb->set_anchors_and_offsets_preset(Control::PRESET_WIDE, Control::PRESET_MODE_MINSIZE, 2);
|
||||
|
||||
hb->add_spacer();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user