VerticalOverflow
Lens Studio v2.0.0+
Description
Options for handling vertical text overflow. Used by Text component’s verticalOverflow
property.
Enum Value | Description |
---|---|
VerticalOverflow.Overflow |
Text will continue to draw past the end of the vertical boundaries. |
VerticalOverflow.Truncate |
Text will be clipped at the end of the vertical boundaries. |
VerticalOverflow.Shrink |
Text will shrink to fit within the vertical boundaries. |
Examples
//@input Component.Text textComponent
script.textComponent.verticalOverflow = VerticalOverflow.Truncate;
Still Looking for help?
Visit Support