2014-11-15, 21:40
Hi all
I'm using the list control to input the list of items in my skin window.
I want to know how I can use the gap for each item to get them to separate?
here is the one I use:
I have tried with <itemgap>10</itemgap> where i have put them after the <pagecontrol>7</pagecontrol> but it doesn't work. All the items will not get separate.
If you do know how I can get the items to get separate in the gap, I would like to know how
I'm using the list control to input the list of items in my skin window.
I want to know how I can use the gap for each item to get them to separate?
here is the one I use:
Code:
<control type="list" id="4325">
<posx>12</posx>
<posy>150</posy>
<width>300</width>
<height>260</height>
<onup>4325</onup>
<ondown>4325</ondown>
<viewtype label="list">list</viewtype>
<pagecontrol>7</pagecontrol>
<focusposition>10</focusposition>
<itemlayout height="34">
<control type="image">
<posx>0</posx>
<posy>10</posy>
<width>300</width>
<height>34</height>
<texture>channels_bar1.png</texture>
</control>
<control type="label">
<posx>3</posx>
<posy>10</posy>
<width>300</width>
<height>34</height>
<font>Font_Bold25</font>
<aligny>center</aligny>
<selectedcolor>FF000000</selectedcolor>
<textcolor>0xFFFFFFFF</textcolor>
<align>left</align>
<info>ListItem.Label</info>
</control>
</itemlayout>
<focusedlayout height="34">
<control type="image">
<posx>0</posx>
<posy>10</posy>
<width>300</width>
<height>34</height>
<visible>!Control.HasFocus(4325)</visible>
<texture>changelang_yellow.png</texture>
</control>
<control type="image">
<posx>0</posx>
<posy>10</posy>
<height>34</height>
<width>300</width>
<visible>Control.HasFocus(4325)</visible>
<texture>channels_bar1.png</texture>
</control>
<control type="label">
<posx>3</posx>
<posy>10</posy>
<width>300</width>
<height>34</height>
<font>Font_Bold25</font>
<aligny>center</aligny>
<selectedcolor>0xFFFFFFFF</selectedcolor>
<textcolor>FF000000</textcolor>
<align>left</align>
<info>ListItem.Label</info>
</control>
</focusedlayout>
</control>
I have tried with <itemgap>10</itemgap> where i have put them after the <pagecontrol>7</pagecontrol> but it doesn't work. All the items will not get separate.
If you do know how I can get the items to get separate in the gap, I would like to know how