summaryrefslogtreecommitdiffstats
path: root/editor/plugins/audio_stream_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-12-09 10:22:24 +0100
committerGitHub <noreply@github.com>2021-12-09 10:22:24 +0100
commit4129c1d140b8c48b64c993fdfa6083e0ec59c8f0 (patch)
tree64fa9af1dc2f924c9e3ea7c0cdc65e84b1d2ebfb /editor/plugins/audio_stream_editor_plugin.cpp
parentdcca8aba4f01dfc55c1d7adb6bef7bee684cf447 (diff)
parent41a20171eb81a7850dd96ec31da4b40c619538a2 (diff)
downloadredot-engine-4129c1d140b8c48b64c993fdfa6083e0ec59c8f0.tar.gz
Merge pull request #55299 from nathanfranke/renames
Diffstat (limited to 'editor/plugins/audio_stream_editor_plugin.cpp')
-rw-r--r--editor/plugins/audio_stream_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/audio_stream_editor_plugin.cpp b/editor/plugins/audio_stream_editor_plugin.cpp
index c76713f534..c621ade5c8 100644
--- a/editor/plugins/audio_stream_editor_plugin.cpp
+++ b/editor/plugins/audio_stream_editor_plugin.cpp
@@ -241,7 +241,7 @@ AudioStreamEditor::AudioStreamEditor() {
_stop_button->connect("pressed", callable_mp(this, &AudioStreamEditor::_stop));
_current_label = memnew(Label);
- _current_label->set_align(Label::ALIGN_RIGHT);
+ _current_label->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_RIGHT);
_current_label->set_h_size_flags(SIZE_EXPAND_FILL);
_current_label->add_theme_font_override("font", EditorNode::get_singleton()->get_gui_base()->get_theme_font(SNAME("status_source"), SNAME("EditorFonts")));
_current_label->add_theme_font_size_override("font_size", EditorNode::get_singleton()->get_gui_base()->get_theme_font_size(SNAME("status_source_size"), SNAME("EditorFonts")));