Kodi Community Forum
Show "..." when the text is larger than the size (height and width) delimited - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Show "..." when the text is larger than the size (height and width) delimited (/showthread.php?tid=347156)



Show "..." when the text is larger than the size (height and width) delimited - edjalmo - 2019-09-10

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!


RE: Show "..." when the text is larger than the size (height and width) delimited - Hitcher - 2019-09-11

Check my code for doing this -

https://github.com/HitcherUK/skin.ftv/blob/master/xml/DialogVideoInfo.xml#L18-L37

https://github.com/HitcherUK/skin.ftv/blob/master/xml/DialogVideoInfo.xml#L376-L389


RE: Show "..." when the text is larger than the size (height and width) delimited - edjalmo - 2019-09-19

(2019-09-11, 08:09)Hitcher Wrote: Check my code for doing this -

https://github.com/HitcherUK/skin.ftv/blob/master/xml/DialogVideoInfo.xml#L18-L37

https://github.com/HitcherUK/skin.ftv/blob/master/xml/DialogVideoInfo.xml#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.