summaryrefslogtreecommitdiffstats
path: root/editor/editor_feature_profile.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/editor_feature_profile.cpp
parentf1e3c87244f18ab1a507b6e3637c34b2d49c1dc6 (diff)
downloadredot-engine-41a20171eb81a7850dd96ec31da4b40c619538a2.tar.gz
align to horizontal_alignment, valign to vertical_alignment, related
Diffstat (limited to 'editor/editor_feature_profile.cpp')
-rw-r--r--editor/editor_feature_profile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_feature_profile.cpp b/editor/editor_feature_profile.cpp
index 2222a5e5d3..78175ff022 100644
--- a/editor/editor_feature_profile.cpp
+++ b/editor/editor_feature_profile.cpp
@@ -948,7 +948,7 @@ EditorFeatureProfileManager::EditorFeatureProfileManager() {
Ref<StyleBoxEmpty> sb = memnew(StyleBoxEmpty);
sb->set_default_margin(SIDE_TOP, 20 * EDSCALE);
no_profile_selected_help->add_theme_style_override("normal", sb);
- no_profile_selected_help->set_align(Label::ALIGN_CENTER);
+ no_profile_selected_help->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_CENTER);
no_profile_selected_help->set_v_size_flags(Control::SIZE_EXPAND_FILL);
h_split->add_child(no_profile_selected_help);