Kodi Community Forum
<linespacing> ignored in vertical home menu? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Metropolis (https://forum.kodi.tv/forumdisplay.php?fid=162)
+---- Thread: <linespacing> ignored in vertical home menu? (/showthread.php?tid=378642)



<linespacing> ignored in vertical home menu? - elece - 2024-08-29

Hi!
My Metropolis theme updated itself and then I changed again the fonts to my more retro-ish taste. But it's not working on the home menu.
The code I changed in Font.xml:
<font>
<name>METF_HomeMenu</name> <!-- columnas menu vertical -->
<filename>Blakely.ttf</filename>
<size>46</size>
<linespacing>1.6</linespacing>
</font>
The result:

Image

The vertical menu font is too big and the lines need more air. But the <linespacing> variable won't admit any values: I used 1, 1.2, 4, 2em, 1,2, 60px (just to try something) but it is not affected.
Do you know if it is there other file in the skin that overrides the menu linespacing?
Thanks!


RE: <linespacing> ignored in vertical home menu? - Hitcher - 2024-08-29

Linespacing in the font.xml is used when the text uses more than one line either in a textbox or wrapmultiline label.

What you're looking for is the item and focus layout heights of the list.


RE: <linespacing> ignored in vertical home menu? - elece - 2024-09-07

Oh wow. I suspected something like that. (From my absolute ignorance of code, of course; it was more like a hunch Big Grin ). I will try it. Thanks!


RE: <linespacing> ignored in vertical home menu? - elece - 2024-09-09

I discovered the settings are in 720/Includes_Home1.xml, lines 212 - 220 - 226 - 236 - 248 for te Main Menu, and 282 - 294 - 303 - 314 for Submenus. (Put in here in case someone has the same question in the future)