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: 
Highlighted
Level 8

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
Highlighted
Level 8

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
Highlighted
Level 7

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