Kodi Community Forum

Full Version: Widget spacing??
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I change the spacing between the widget posters as I want to make the closer together I've looked through both the template.xml and includeshomewidgets.xml but can't seem to find it.
Bump. I too have this question!
(2016-09-14, 02:24)LeeH1988 Wrote: [ -> ]How can I change the spacing between the widget posters as I want to make the closer together I've looked through both the template.xml and includeshomewidgets.xml but can't seem to find it.
 If i remember correct you need edit the 

includeshomevertical.xml (when using vert menu) the settings for widgets is near the top.maybe its necessary to check includes widgets again.i remember editing some things there working too, but just for the 2nd collumn of each widget line.

cant verify ,cause not at home.
this kind of drove me crazy for a while I couldn't figure how to change the spacing so I increased the size of the widget tiles slightly instead fixing the spacing issue.
Where abouts would I go to change this?
do you mean like this?

Image
Here are the changes I made to the IncludesHomeWidgets.xml to increase the size of the tiles. also the changes I made to the IncludesHomeNetflix.xml to make the homescreen look more like Netflix.
http://drive.google.com/file/d/1U-B3EY4h...p=drivesdk
(2018-03-31, 23:48)norien Wrote: [ -> ]Where abouts would I go to change this?
Edit in IncludesHomeWidgets.xml
example of poster layout

if the group witdth and height is the same as the preset itemlayout you shouldnt get any space in between, set them up to te widget type you need....but look how it looks at focus and not on focus


xml:
<itemlayout height="380" width="261">    <!-- given space / FORM -->
            <control type="group">
                <width>250</width>                  <!--used space / FORM -->
                <height>370</height>               <!-- used space / FORM -->
.
.
.
 <focusedlayout height="380" width="261" condition="!Control.HasFocus($PARAM[widgetid])"> <!-- given space / FORM when on focus-->
            <control type="group">
                <width>250</width>      <!--used space / FORM -->
                <height>370</height>      <!--used space / FORM -->

example : 1 used form is near same as given space
Image

example 2: given space  is much higher than used space
Image