Forum Discussion

jedashford's avatar
jedashford
Channel Surfer
10 years ago

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

2 Replies

  • 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.
  • 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