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: 
jedashford
Channel Surfer

Label.isTextEllipsized always returns false

I found a buried roku forum message from 8 months ago where others complained isTextEllipsized always returns false: viewtopic.php?f=34&t=88621&p=520504&hilit=isTextEllipsized#p520504

I'm also experiencing this with firmware 7.1 . Anyone know if there is a work around or if Roku is working on fixing it?

I need to add an indicator to view 'more' of a description only if its more than a certain amount of lines. This looks to be the only way to find this.

'always returns FALSE
m.top.findNode("description").isTextEllipsized
0 Kudos
2 REPLIES 2
jedashford
Channel Surfer

Re: Label.isTextEllipsized always returns false

Thought this was fixed in Firmware 7.2, but appears it is not. Anyone else think of a way to tell if a block of text is truncated? Really makes for a poor UI experience without this.
0 Kudos
Techie
Visitor

Re: Label.isTextEllipsized always returns false

isTextEllipsized is set once the text is loaded. Correct way is to observe this field. Once it will be set callback will be triggered and there you can update your UI
0 Kudos