2015-03-21, 15:49
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>