setEllipsis

open fun setEllipsis(ellipsis: Boolean): Text

Enable\Disable ellipsis. Works if the Text width is defined

If the text is longer than the getWidth and ellipsis was enabled, the ellipsis will be added to the end of the text

Default: false

Return

this

Parameters

ellipsis

true to enable ellipsis. false to disable