You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
align to horizontal_alignment, valign to vertical_alignment, related
This commit is contained in:
@@ -624,7 +624,7 @@ FindReplaceBar::FindReplaceBar() {
|
||||
|
||||
vbc_lineedit = memnew(VBoxContainer);
|
||||
add_child(vbc_lineedit);
|
||||
vbc_lineedit->set_alignment(ALIGN_CENTER);
|
||||
vbc_lineedit->set_alignment(ALIGNMENT_CENTER);
|
||||
vbc_lineedit->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
VBoxContainer *vbc_button = memnew(VBoxContainer);
|
||||
add_child(vbc_button);
|
||||
@@ -633,10 +633,10 @@ FindReplaceBar::FindReplaceBar() {
|
||||
|
||||
HBoxContainer *hbc_button_search = memnew(HBoxContainer);
|
||||
vbc_button->add_child(hbc_button_search);
|
||||
hbc_button_search->set_alignment(ALIGN_END);
|
||||
hbc_button_search->set_alignment(ALIGNMENT_END);
|
||||
hbc_button_replace = memnew(HBoxContainer);
|
||||
vbc_button->add_child(hbc_button_replace);
|
||||
hbc_button_replace->set_alignment(ALIGN_END);
|
||||
hbc_button_replace->set_alignment(ALIGNMENT_END);
|
||||
|
||||
HBoxContainer *hbc_option_search = memnew(HBoxContainer);
|
||||
vbc_option->add_child(hbc_option_search);
|
||||
|
||||
Reference in New Issue
Block a user