Quantcast
Channel: Kodi Community Forum - Skinning
Viewing all articles
Browse latest Browse all 1803

add space between first item and second item of a list container

$
0
0
Guys, I have this list. I would like to add space between the first item and the rest of the list.

Right now it's like this: - - - - (1 2 3 4 5 ...)

I want: -       - - - - - - (1       2 3 4 5 ...)

AND: I don't want the focused item to move to the place of the first item. Hence a list instead of a fixedlist.

Is that possible?

xml:
    <control type="list" id="52">
        <left>594</left>
        <top>-200</top>
        <orientation>vertical</orientation>
        <pagecontrol>531</pagecontrol>
        <movement>11</movement>
        <focusposition>10</focusposition>
        <focusedlayout height="75">
            <control type="image">
                <left>0</left>
                <right>0</right>
                <texture colordiffuse="button_focus">lists/focus.png</texture>
                <visible>Control.HasFocus(52)</visible>
            </control>
            <control type="image">
                <left>35</left>
                <centertop>50%</centertop>
                <width>32</width>
                <height>32</height>
                <texture>$VAR[ListWatchedIconVar]</texture>
            </control>
            <control type="label">
                <left>105</left>
                <top>0</top>
                <bottom>0</bottom>
                <right>40</right>
                <aligny>center</aligny>
                <scroll>true</scroll>
                <label>$VAR[ListLabelVar]</label>
                <shadowcolor>text_shadow</shadowcolor>
            </control>
        </focusedlayout>
        <itemlayout height="75">
            <control type="image">
                <left>35</left>
                <centertop>50%</centertop>
                <width>32</width>
                <height>32</height>
                <texture colordiffuse="grey">$VAR[ListWatchedIconVar]</texture>
            </control>
            <control type="label">
                <left>105</left>
                <top>0</top>
                <bottom>0</bottom>
                <right>40</right>
                <aligny>center</aligny>
                <label>$VAR[ListLabelVar]</label>
                <shadowcolor>text_shadow</shadowcolor>
            </control>
        </itemlayout>
    </control>


Viewing all articles
Browse latest Browse all 1803

Trending Articles