summaryrefslogtreecommitdiffstats
path: root/editor/code_editor.cpp
diff options
context:
space:
mode:
authorNathan Franke <natfra@pm.me>2021-11-24 20:58:47 -0600
committerNathan Franke <natfra@pm.me>2021-12-09 01:38:46 -0600
commit41a20171eb81a7850dd96ec31da4b40c619538a2 (patch)
tree64df686faeeca6068ba43167bf07fe8b3823e417 /editor/code_editor.cpp
parentf1e3c87244f18ab1a507b6e3637c34b2d49c1dc6 (diff)
downloadredot-engine-41a20171eb81a7850dd96ec31da4b40c619538a2.tar.gz
align to horizontal_alignment, valign to vertical_alignment, related
Diffstat (limited to 'editor/code_editor.cpp')
-rw-r--r--editor/code_editor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp
index 0f6fdcdae5..e197c13c14 100644
--- a/editor/code_editor.cpp
+++ b/editor/code_editor.cpp
@@ -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);