Show "..." when the text is larger than the size (height and width) delimited
#1
As explained in the title ... Is this possible?
I'm not a big fan of auto scrolling, I wish to show this to indicate that exist more text and user can see the rest in video info page (where plot can be clicable).

Thanks!
Supercalifragilisticexpialidocious! (inscribed in large friendly letters)
My hardware is a Raspberry Pi 3b (with LibreELEC)
Reply
#2
Check my code for doing this -

https://github.com/HitcherUK/skin.ftv/bl...ml#L18-L37

https://github.com/HitcherUK/skin.ftv/bl...#L376-L389
Reply
#3
(2019-09-11, 08:09)Hitcher Wrote: Check my code for doing this -

https://github.com/HitcherUK/skin.ftv/bl...ml#L18-L37

https://github.com/HitcherUK/skin.ftv/bl...#L376-L389

Hi, @Hitcher! Thanks and sorry for the delay for answer.
I'm really very noob in skinning, so I couldn't replicate your code here. When I tried the plot went dark.
Can you explain more your code? How do you know when show this image or not?
I want use this in a view I made for Amber. The view look this way:
Image

But I want show "..." as text, not image, if possible.

This is the code of this view: https://pastebin.com/RPa1Gn8V
The plot is around line 168.
Supercalifragilisticexpialidocious! (inscribed in large friendly letters)
My hardware is a Raspberry Pi 3b (with LibreELEC)
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Show "..." when the text is larger than the size (height and width) delimited00