Roku Developer Program

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

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 😄
aspiring
0 Kudos