diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2023-03-23 11:22:37 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2023-05-15 19:23:54 +0300 |
commit | 9163d8c33650d4bb181a59b8d9838ebc61d5ecbb (patch) | |
tree | a4f0bf93d9a2b4696863af8f6454fae67fc4d775 /servers/text | |
parent | 5c653c27cdf779e1e70a16ec9514435537a01779 (diff) | |
download | redot-engine-9163d8c33650d4bb181a59b8d9838ebc61d5ecbb.tar.gz |
Expose TextServer justification flags to Label, Label3D, TextMesh and RTL. Add flags to control last/single line justification.
Diffstat (limited to 'servers/text')
-rw-r--r-- | servers/text/text_server_extension.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/text/text_server_extension.cpp b/servers/text/text_server_extension.cpp index c1078d9493..511417664f 100644 --- a/servers/text/text_server_extension.cpp +++ b/servers/text/text_server_extension.cpp @@ -251,7 +251,7 @@ void TextServerExtension::_bind_methods() { GDVIRTUAL_BIND(_shaped_text_substr, "shaped", "start", "length"); GDVIRTUAL_BIND(_shaped_text_get_parent, "shaped"); - GDVIRTUAL_BIND(_shaped_text_fit_to_width, "shaped", "width", "jst_flags"); + GDVIRTUAL_BIND(_shaped_text_fit_to_width, "shaped", "width", "justification_flags"); GDVIRTUAL_BIND(_shaped_text_tab_align, "shaped", "tab_stops"); GDVIRTUAL_BIND(_shaped_text_shape, "shaped"); |