Expose TextServer justification flags to Label, Label3D, TextMesh and RTL. Add flags to control last/single line justification.

This commit is contained in:
bruvzg
2023-03-23 11:22:37 +02:00
parent 5c653c27cd
commit 9163d8c336
24 changed files with 292 additions and 46 deletions

View File

@@ -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");