You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
@@ -125,7 +125,7 @@ MaterialEditor::MaterialEditor() {
|
||||
// canvas item
|
||||
|
||||
layout_2d = memnew(HBoxContainer);
|
||||
layout_2d->set_alignment(BoxContainer::ALIGN_CENTER);
|
||||
layout_2d->set_alignment(ALIGNMENT_CENTER);
|
||||
add_child(layout_2d);
|
||||
layout_2d->set_anchors_and_offsets_preset(PRESET_WIDE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user