2016-08-28, 22:16
Greetings!
Hope a more experienced skinner can help me suss out an issue that has me stumped. I converted a control type from list to fixedlist and it does not behave correctly. When the focus position is reached the list does scroll but the button lurches one position in the scroll direction before settling back to the focus position; if that makes any sense.
I've fought this for hours with no luck. Please, if you have any thoughts on the subject, I would love to hear them.
Here's the hunk of code:
Thanks!
Hope a more experienced skinner can help me suss out an issue that has me stumped. I converted a control type from list to fixedlist and it does not behave correctly. When the focus position is reached the list does scroll but the button lurches one position in the scroll direction before settling back to the focus position; if that makes any sense.
I've fought this for hours with no luck. Please, if you have any thoughts on the subject, I would love to hear them.
Here's the hunk of code:
Code:
<control type="group" description="Slider and List">
<posx>1030</posx>
<posy>141</posy>
<control type="fixedlist" id="50">
<posx>0</posx>
<posy>0</posy>
<width>830</width>
<height>892</height>
<onleft>9000</onleft>
<onright>70</onright>
<onup>50</onup>
<ondown>50</ondown>
<pagecontrol>70</pagecontrol>
<focusposition>4</focusposition>
<movement>4</movement>
<preloaditems>4</preloaditems>
<viewtype label="537">Big List 50</viewtype>
<scrolltime easing="inout" tween="sine">280</scrolltime>
<itemlayout height="99">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<height>99</height>
<width>830</width>
<texture flipy="true" border="3">img/ListNF.png</texture>
</control>
<control type="image" description="TV Logo">
<posx>700</posx>
<posy>0</posy>
<width>90</width>
<height>90</height>
<texture>$INFO[ListItem.Icon]</texture>
<aspectratio>keep</aspectratio>
</control>
<control type="label" description="Number">
<left>0</left>
<height>99</height>
<width>80</width>
<align>center</align>
<aligny>center</aligny>
<info>ListItem.ChannelNumber</info>
</control>
<control type="label" description="Main Label">
<posx>126</posx>
<height>55</height>
<width>600</width>
<scroll>false</scroll>
<label>$INFO[ListItem.Label]</label>
</control>
<control type="label" description="Label2">
<posx>126</posx>
<posy>35</posy>
<height>60</height>
<font>size18</font>
<width>600</width>
<scroll>false</scroll>
<textcolor>Grey</textcolor>
<label>$INFO[ListItem.Title]</label>
</control>
</itemlayout>
<focusedlayout height="99">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<height>99</height>
<width>830</width>
<texture flipy="true" border="3">img/ListNF.png</texture> <!-- -->
</control>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>830</width>
<height>99</height>
<texture>img/MediaButton2.png</texture>
</control>
<control type="image" description="TV Logo">
<posx>700</posx>
<posy>0</posy>
<width>90</width>
<height>90</height>
<texture>$INFO[ListItem.Icon]</texture>
<aspectratio>keep</aspectratio>
</control>
<control type="label" description="Number">
<left>0</left>
<height>99</height>
<width>80</width>
<align>center</align>
<aligny>center</aligny>
<info>ListItem.ChannelNumber</info>
</control>
<control type="label" description="Main Label">
<posx>126</posx>
<height>55</height>
<width>600</width>
<label>$INFO[ListItem.Label]</label>
</control>
<control type="label" description="Label2">
<posx>126</posx>
<posy>35</posy>
<height>60</height>
<font>size18</font>
<width>600</width>
<textcolor>White2</textcolor>
<label>$INFO[ListItem.Title]</label>
</control>
</focusedlayout>
</control>
</control>
Thanks!