rojo/.cursor/rules/roblox/reference/engine/enums/TextTruncate.yaml
2026-02-02 12:08:47 -06:00

52 lines
1.5 KiB
YAML

# This file is automatically generated. Please don't edit it manually.
# To submit a bug report on the content, see
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
name: TextTruncate
type: enum
summary: |
Controls the truncation of text when using the `TextTruncate` property.
description: |
Controls the truncation of text when using the `TextTruncate` property.
code_samples: []
tags: []
deprecation_message: ''
items:
- name: None
summary: |
Text is not truncated.
value: 0
tags: []
deprecation_message: ''
- name: AtEnd
summary: |
Text is truncated at the end of the text; extra graphemes that cannot fit
into the space are replaced with `...`. Word boundaries are respected if
possible.
For example, if the control is between -> and <- like so:
`->Long text is truncated at the en<-d of the last complete word`
The text will be:
`Long text is truncated at the...`
value: 1
tags: []
deprecation_message: ''
- name: SplitWord
summary: |
If the end of the line occurs in the middle of a word, the text is
truncated inside of that word. Extra graphemes that cannot fit into the
space are replaced with `...`.
For example, if the control is between -> and <- like so:
`->Long text is truncated at the en<-d of the last complete word`
The text will be:
`Long text is truncated at the en...`
value: 2
tags: []
deprecation_message: ''