summaryrefslogtreecommitdiffstats
path: root/editor/editor_path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor_path.cpp')
-rw-r--r--editor/editor_path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_path.cpp b/editor/editor_path.cpp
index f3b3eedccc..45c0232072 100644
--- a/editor/editor_path.cpp
+++ b/editor/editor_path.cpp
@@ -211,7 +211,7 @@ EditorPath::EditorPath(EditorHistory *p_history) {
current_object_label = memnew(Label);
current_object_label->set_clip_text(true);
- current_object_label->set_align(Label::ALIGN_LEFT);
+ current_object_label->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_LEFT);
current_object_label->set_h_size_flags(SIZE_EXPAND_FILL);
main_hb->add_child(current_object_label);