mirror of
https://github.com/godotengine/godot.git
synced 2026-03-03 20:55:48 +00:00
Rename Control PRESET_WIDE to PRESET_FULL_RECT
This commit is contained in:
@@ -432,7 +432,7 @@ GroupDialog::GroupDialog() {
|
||||
|
||||
VBoxContainer *vbc = memnew(VBoxContainer);
|
||||
add_child(vbc);
|
||||
vbc->set_anchors_and_offsets_preset(Control::PRESET_WIDE, Control::PRESET_MODE_KEEP_SIZE, 8 * EDSCALE);
|
||||
vbc->set_anchors_and_offsets_preset(Control::PRESET_FULL_RECT, Control::PRESET_MODE_KEEP_SIZE, 8 * EDSCALE);
|
||||
|
||||
HBoxContainer *hbc = memnew(HBoxContainer);
|
||||
vbc->add_child(hbc);
|
||||
@@ -562,7 +562,7 @@ GroupDialog::GroupDialog() {
|
||||
group_empty->set_autowrap_mode(TextServer::AUTOWRAP_WORD_SMART);
|
||||
group_empty->set_custom_minimum_size(Size2(100 * EDSCALE, 0));
|
||||
nodes_to_remove->add_child(group_empty);
|
||||
group_empty->set_anchors_and_offsets_preset(Control::PRESET_WIDE, Control::PRESET_MODE_KEEP_SIZE, 8 * EDSCALE);
|
||||
group_empty->set_anchors_and_offsets_preset(Control::PRESET_FULL_RECT, Control::PRESET_MODE_KEEP_SIZE, 8 * EDSCALE);
|
||||
|
||||
set_title(TTR("Group Editor"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user