Expose TextServer justification flags to Label, Label3D, TextMesh and RTL. Add flags to control last/single line justification.
This commit is contained in:
parent
5c653c27cd
commit
9163d8c336
24 changed files with 292 additions and 46 deletions
|
|
@ -29,6 +29,9 @@
|
|||
<member name="horizontal_alignment" type="int" setter="set_horizontal_alignment" getter="get_horizontal_alignment" enum="HorizontalAlignment" default="1">
|
||||
Controls the text's horizontal alignment. Supports left, center, right, and fill, or justify. Set it to one of the [enum HorizontalAlignment] constants.
|
||||
</member>
|
||||
<member name="justification_flags" type="int" setter="set_justification_flags" getter="get_justification_flags" enum="TextServer.JustificationFlag" default="163">
|
||||
Line fill alignment rules. For more info see [enum TextServer.JustificationFlag].
|
||||
</member>
|
||||
<member name="language" type="String" setter="set_language" getter="get_language" default="""">
|
||||
Language code used for text shaping algorithms, if left empty current locale is used instead.
|
||||
</member>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue