You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Merge pull request #11424 from groud/control_node_presets
Implements set_margins_preset(...)
This commit is contained in:
@@ -337,7 +337,7 @@ MaterialEditor::MaterialEditor() {
|
||||
|
||||
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);
|
||||
|
||||
VBoxContainer *vb_shape = memnew( VBoxContainer );
|
||||
hb->add_child(vb_shape);
|
||||
|
||||
Reference in New Issue
Block a user