Kodi Community Forum
Bug Cropped vertical text - 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: Bug Cropped vertical text (/showthread.php?tid=325696)



Cropped vertical text - distar66 - 2017-12-20

Hello there,
I'm currently trying to write an Estouchy mod for Android, basically a vertical UI with a bigger font. It goes slowly because....I'm a total noob trying to understand how it works.

My problem is, if the horizontal text size doesn't fit the text box size, it will be cropped. So, even if it fit vertically, the text is cropped (also I'm not a native english, as you can see Big Grin ). 

Cropped text

I would like to know if it comes from Kodi itself and if it can be corrected, by an update or by changing the method the text size is calculated.
I just increased the text box size for the moment, but I'd like to avoid making gigantic buttons for every setting.

Increased textbox size

Well , thanks in advance for the help.


RE: Cropped vertical text - ronie - 2017-12-20

hard to tell without any code ;-)

in case you're using <angle> to rotate the text, try if it works better with a rotate animation.


RE: Cropped vertical text - distar66 - 2017-12-20

(2017-12-20, 20:24)ronie Wrote: hard to tell without any code ;-)

in case you're using <angle> to rotate the text, try if it works better with a rotate animation.
Yup I just added "<angle>90</angle>" right after the font codeline. As I said I'm totally new in the skinning so I don't actually know how to rotate a text using animation so I'll come back later when it will be done.

Thanks for the help  Smile


RE: Cropped vertical text - distar66 - 2017-12-27

(2017-12-20, 20:24)ronie Wrote: hard to tell without any code ;-)

in case you're using <angle> to rotate the text, try if it works better with a rotate animation.
 Sorry for the delay, you know how weird family is "gnagna go out with us gnagna you can't just stay in your cave not seeing the sun gnagna it's Christmas so please come gnagna"... 
Well, it worked perfectly, and it will probably make the work way easier. Thanks for the help and enjoy the last 2017 days  Wink !