Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
joetesta
Level 10

Feature Request Label Component

In the Label component, would it be possible to get a read-only value that's the index of the last character shown before truncation / ellipsization.?

This would allow a single block of text to be somewhat easily split up across multiple labels for various effects.

This would also allow me to figure what characters are on the last line of text (by creating a dummy parallel label with one less maxline) and theoretically calculate how much horizontal space the last lines characters take so a button could be stuck on the end at the point right where the text ends.

TYVMIA & cheers Smiley Very Happy
aspiring
0 Kudos