Skip to content

Text View

A text label view supports displaying simple text on a screen.

PropertyDescription
textSets the text to display on the label. See MCI Formatting for information for advanced formatting.
textStyleSets the standard (non-focus) text style. See Text Styles in MCI
widthSets the width of a view to display horizontally (default 15)
justifySets the justification of the text in the view. Options: left (default), right, center
fillCharSpecifies a character to fill extra space in the view with. Defaults to an empty space
textOverflowSet overflow characters to display in case the text length is less than the width. See Text Overflow below

The textOverflow option is used to specify what happens when a text string is too long to fit in the width defined.

Example

Configuration fragment (expand to view)
TL1: {
text: Text label
}