Grouplist question
#1
I'm having a issue with a grouplist. There is a huge gap between the two fixedlist and i want it alot closer. I have tried many things but can't seem to figure it out. Any help would be great thanks my code is below.


Code:
<control type="grouplist">
                <posx>25</posx>
                <posy>50</posy>
                <itemgap>10</itemgap>
                <control type="fixedlist" id="8000">
                    <description>Entertainment</description>
                    <left>100</left>
                    <top>100</top>
                    <width>1920</width>
                    <height>250</height>
                    <ondown>8001</ondown>
                    <onup>8012</onup>
                    <visible>true</visible>
                    <pagecontrol>-</pagecontrol>
                    <scrolltime>200</scrolltime>
                    <focusposition>1</focusposition>
                    <movement>1</movement>
                    <orientation>horizontal</orientation>
                    <!--<scrolltime tween="sine" easing="out">200</scrolltime>-->
                    <!--<hitrect x="250" y="100" w="300" h="200" />-->
                    <content>plugin://plugin.video.testaddon</content>
                    <itemlayout height="50" width="210">
                        <control type="image">
                            <left>50</left>
                            <top>150</top>
                            <width>200</width>
                            <height>75</height>
                            <aspectratio>keep</aspectratio>
                            <texture>$INFO[ListItem.Icon]</texture>
                        </control>
                        <control type="image">
                            <left>50</left>
                            <top>219</top>
                            <width>200</width>
                            <height>75</height>
                            <aspectratio>keep</aspectratio>
                            <texture background="true" flipy="true" diffuse="Poster_Matte_NF_Reflect.png">$INFO[ListItem.Icon]</texture>
                            <fadetime>200</fadetime>
                            <!--<colordiffuse>PosterDiffuse</colordiffuse>
                            <aspectratio scalediffuse="false">stretch</aspectratio>-->
                        </control>
                        <!--<control type="label">
                            <left>50</left>
                            <top>280</top>
                            <width>260</width>
                            <font>font12</font>
                            <textcolor>white</textcolor>
                            <shadowcolor>ff000000</shadowcolor>
                            <align>center</align>
                            <label colordiffuse="FF969096">$INFO[ListItem.Label]</label>
                        </control>-->
                    </itemlayout>
                    <focusedlayout height="50" width="210">
                        <control type="image">
                            <left>50</left>
                            <top>150</top>
                            <width>200</width>
                            <height>75</height>
                            <aspectratio>keep</aspectratio>
                            <animation effect="zoom" end="140" center="210,185" time="200">Focus</animation>
                            <texture>$INFO[ListItem.Icon]</texture>
                        </control>
                        <control type="image">
                            <left>50</left>
                            <top>219</top>
                            <width>200</width>
                            <height>75</height>
                            <aspectratio>keep</aspectratio>
                            <texture background="true" flipy="true" diffuse="Poster_Matte_NF_Reflect.png">$INFO[ListItem.Icon]</texture>
                            <animation effect="zoom" end="140" center="210,185" time="200">Focus</animation>
                            <fadetime>200</fadetime>
                            <!--<colordiffuse>PosterDiffuse</colordiffuse>
                            <aspectratio scalediffuse="false">stretch</aspectratio>-->
                        </control>
                        <!--<control type="label">
                            <left>50</left>
                            <top>280</top>
                            <width>260</width>
                            <font>font12</font>
                            <textcolor>white</textcolor>
                            <shadowcolor>ff000000</shadowcolor>
                            <align>center</align>
                            <animation effect="zoom" end="130" center="210,220" time="200">Focus</animation>
                            <label>$INFO[ListItem.Label]</label>
                        </control>-->
                    </focusedlayout>
                </control>
                <control type="fixedlist" id="8001">
                    <description>Entertainment</description>
                    <left>100</left>
                    <top>100</top>
                    <width>1920</width>
                    <height>250</height>
                    <ondown>8002</ondown>
                    <onup>8000</onup>
                    <visible>true</visible>
                    <pagecontrol>-</pagecontrol>
                    <scrolltime>200</scrolltime>
                    <focusposition>1</focusposition>
                    <movement>1</movement>
                    <orientation>horizontal</orientation>
                    <!--<scrolltime tween="sine" easing="out">200</scrolltime>-->
                    <!--<hitrect x="250" y="100" w="300" h="200" />-->
                    <content>plugin://plugin.video.testaddon</content>
                    <itemlayout height="90" width="210">
                        <control type="image">
                            <left>50</left>
                            <top>150</top>
                            <width>200</width>
                            <height>75</height>
                            <aspectratio>keep</aspectratio>
                            <texture>$INFO[ListItem.Icon]</texture>
                        </control>
                        <control type="image">
                            <left>50</left>
                            <top>219</top>
                            <width>200</width>
                            <height>75</height>
                            <aspectratio>keep</aspectratio>
                            <texture background="true" flipy="true" diffuse="Poster_Matte_NF_Reflect.png">$INFO[ListItem.Icon]</texture>
                            <fadetime>200</fadetime>
                            <!--<colordiffuse>PosterDiffuse</colordiffuse>
                            <aspectratio scalediffuse="false">stretch</aspectratio>-->
                        </control>
                        <!--<control type="label">
                            <left>50</left>
                            <top>280</top>
                            <width>260</width>
                            <font>font12</font>
                            <textcolor>white</textcolor>
                            <shadowcolor>ff000000</shadowcolor>
                            <align>center</align>
                            <label colordiffuse="FF969096">$INFO[ListItem.Label]</label>
                        </control>-->
                    </itemlayout>
                    <focusedlayout height="90" width="210">
                        <control type="image">
                            <left>50</left>
                            <top>150</top>
                            <width>200</width>
                            <height>75</height>
                            <aspectratio>keep</aspectratio>
                            <animation effect="zoom" end="140" center="210,185" time="200">Focus</animation>
                            <texture>$INFO[ListItem.Icon]</texture>
                        </control>
                        <control type="image">
                            <left>50</left>
                            <top>219</top>
                            <width>200</width>
                            <height>75</height>
                            <aspectratio>keep</aspectratio>
                            <texture background="true" flipy="true" diffuse="Poster_Matte_NF_Reflect.png">$INFO[ListItem.Icon]</texture>
                            <animation effect="zoom" end="140" center="210,185" time="200">Focus</animation>
                            <fadetime>200</fadetime>
                            <!--<colordiffuse>PosterDiffuse</colordiffuse>
                            <aspectratio scalediffuse="false">stretch</aspectratio>-->
                        </control>
                        <!--<control type="label">
                            <left>50</left>
                            <top>280</top>
                            <width>260</width>
                            <font>font12</font>
                            <textcolor>white</textcolor>
                            <shadowcolor>ff000000</shadowcolor>
                            <align>center</align>
                            <animation effect="zoom" end="130" center="210,220" time="200">Focus</animation>
                            <label>$INFO[ListItem.Label]</label>
                        </control>-->
                    </focusedlayout>
                </control>            
            </control>
Reply
#2
Try changing <height>250</height> to <height>50</height>

Your Item and focused layouts are only 50 high so guessing the extra 200 is causing the gap.
 
Reply
#3
i tried that but then the listitems don't show up unless i have it set to 250 its weird
Reply
#4
That's because you're offsetting them from the top of the list. Also remove the 'left' and 'top' from each list.
Reply
#5
PHP Code:
<control type="grouplist">
    <
posx>175</posx>
    <
posy>50</posy>
    <
itemgap>10</itemgap>
    <
control id="8000" type="fixedlist">
        <
description>Entertainment</description>
        <
width>1920</width>
        <
height>250</height>
        <
ondown>8001</ondown>
        <
onup>8012</onup>
        <
visible>true</visible>
        <
pagecontrol>-</pagecontrol>
        <
scrolltime>200</scrolltime>
        <
focusposition>1</focusposition>
        <
movement>1</movement>
        <
orientation>horizontal</orientation>
        <!--<
scrolltime tween="sine" easing="out">200</scrolltime>-->
        <!--<
hitrect x="250" y="100" w="300" h="200" />-->
        <
content>plugin://plugin.video.testaddon</content>
        
<itemlayout height="75" width="210">
            <
control type="image">
                <
width>200</width>
                <
height>75</height>
                <
aspectratio>keep</aspectratio>
                <
texture>$INFO[ListItem.Icon]</texture>
            </
control>
            <
control type="image">
                <
left>50</left>
                <
top>69</top>
                <
width>200</width>
                <
height>75</height>
                <
aspectratio>keep</aspectratio>
                <
texture background="true" diffuse="Poster_Matte_NF_Reflect.png" flipy="true">$INFO[ListItem.Icon]</texture>
                <
fadetime>200</fadetime>
                <!--<
colordiffuse>PosterDiffuse</colordiffuse><aspectratio scalediffuse="false">stretch</aspectratio>-->
            </
control>
            <!--<
control type="label"><left>50</left><top>280</top><width>260</width><font>font12</font><textcolor>white</textcolor><shadowcolor>ff000000</shadowcolor><align>center</align><label colordiffuse="FF969096">$INFO[ListItem.Label]</label></control>-->
        </
itemlayout>
        <
focusedlayout height="75" width="210">
            <
control type="image">
                <
width>200</width>
                <
height>75</height>
                <
aspectratio>keep</aspectratio>
                <
animation center="210,185" effect="zoom" end="140" time="200">Focus</animation>
                <
texture>$INFO[ListItem.Icon]</texture>
            </
control>
            <
control type="image">
                <
top>69</top>
                <
width>200</width>
                <
height>75</height>
                <
aspectratio>keep</aspectratio>
                <
texture background="true" diffuse="Poster_Matte_NF_Reflect.png" flipy="true">$INFO[ListItem.Icon]</texture>
                <
animation center="210,185" effect="zoom" end="140" time="200">Focus</animation>
                <
fadetime>200</fadetime>
                <!--<
colordiffuse>PosterDiffuse</colordiffuse><aspectratio scalediffuse="false">stretch</aspectratio>-->
            </
control>
            <!--<
control type="label"><left>50</left><top>280</top><width>260</width><font>font12</font><textcolor>white</textcolor><shadowcolor>ff000000</shadowcolor><align>center</align><animation effect="zoom" end="130" center="210,220" time="200">Focus</animation><label>$INFO[ListItem.Label]</label></control>-->
        </
focusedlayout>
    </
control>
    <
control id="8001" type="fixedlist">
        <
description>Entertainment</description>
        <
width>1920</width>
        <
height>250</height>
        <
ondown>8002</ondown>
        <
onup>8000</onup>
        <
visible>true</visible>
        <
pagecontrol>-</pagecontrol>
        <
scrolltime>200</scrolltime>
        <
focusposition>1</focusposition>
        <
movement>1</movement>
        <
orientation>horizontal</orientation>
        <!--<
scrolltime tween="sine" easing="out">200</scrolltime>-->
        <!--<
hitrect x="250" y="100" w="300" h="200" />-->
        <
content>plugin://plugin.video.testaddon</content>
        
<itemlayout height="90" width="210">
            <
control type="image">
                <
width>200</width>
                <
height>75</height>
                <
aspectratio>keep</aspectratio>
                <
texture>$INFO[ListItem.Icon]</texture>
            </
control>
            <
control type="image">
                <
top>69</top>
                <
width>200</width>
                <
height>75</height>
                <
aspectratio>keep</aspectratio>
                <
texture background="true" diffuse="Poster_Matte_NF_Reflect.png" flipy="true">$INFO[ListItem.Icon]</texture>
                <
fadetime>200</fadetime>
                <!--<
colordiffuse>PosterDiffuse</colordiffuse><aspectratio scalediffuse="false">stretch</aspectratio>-->
            </
control>
            <!--<
control type="label"><left>50</left><top>280</top><width>260</width><font>font12</font><textcolor>white</textcolor><shadowcolor>ff000000</shadowcolor><align>center</align><label colordiffuse="FF969096">$INFO[ListItem.Label]</label></control>-->
        </
itemlayout>
        <
focusedlayout height="90" width="210">
            <
control type="image">
                <
width>200</width>
                <
height>75</height>
                <
aspectratio>keep</aspectratio>
                <
animation center="210,185" effect="zoom" end="140" time="200">Focus</animation>
                <
texture>$INFO[ListItem.Icon]</texture>
            </
control>
            <
control type="image">
                <
top>69</top>
                <
width>200</width>
                <
height>75</height>
                <
aspectratio>keep</aspectratio>
                <
texture background="true" diffuse="Poster_Matte_NF_Reflect.png" flipy="true">$INFO[ListItem.Icon]</texture>
                <
animation center="210,185" effect="zoom" end="140" time="200">Focus</animation>
                <
fadetime>200</fadetime>
                <!--<
colordiffuse>PosterDiffuse</colordiffuse><aspectratio scalediffuse="false">stretch</aspectratio>-->
            </
control>
            <!--<
control type="label"><left>50</left><top>280</top><width>260</width><font>font12</font><textcolor>white</textcolor><shadowcolor>ff000000</shadowcolor><align>center</align><animation effect="zoom" end="130" center="210,220" time="200">Focus</animation><label>$INFO[ListItem.Label]</label></control>-->
        </
focusedlayout>
    </
control>
</
control
Reply
#6
cool i'll give that a go thanks
Reply
#7
Awesome that worked great thank you so much for you help
Reply

Logout Mark Read Team Forum Stats Members Help
Grouplist question0