Reputation: 2734
My UI contains a Text field with
horizontalAlignment: Text.AlignJustify
maximumLineCount: 5
wrapMode: TextEdit.WordWrap
elide: Text.ElideRight
When the text does not fit, the last line should end with "... MORE" where "MORE" should be focusable. This will probably be a separate Text field where the visibility is controlled by whether or not the text is elided.
But how can I detect when a Text gets elided?
Upvotes: 1
Views: 4220