mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Merge pull request #110408 from bruvzg/el_trim_w
[TextServer] Use a separate flag to disable min. string length for adding ellipsis.
This commit is contained in:
commit
47d6ce2917
5 changed files with 31 additions and 24 deletions
|
|
@ -2143,6 +2143,9 @@
|
|||
<constant name="OVERRUN_JUSTIFICATION_AWARE" value="16" enum="TextOverrunFlag" is_bitfield="true">
|
||||
Accounts for the text being justified before attempting to trim it (see [enum JustificationFlag]).
|
||||
</constant>
|
||||
<constant name="OVERRUN_SHORT_STRING_ELLIPSIS" value="32" enum="TextOverrunFlag" is_bitfield="true">
|
||||
Determines whether the ellipsis should be added regardless of the string length, otherwise it is added only if the string is 6 characters or longer.
|
||||
</constant>
|
||||
<constant name="GRAPHEME_IS_VALID" value="1" enum="GraphemeFlag" is_bitfield="true">
|
||||
Grapheme is supported by the font, and can be drawn.
|
||||
</constant>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue