Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
joetesta
Roku Guru

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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.