2011-02-24, 00:06
Ok here's my dilema.
I'm trying to create my own skin (obviously) and am trying to use a wraplist.
below is the entirey of my home.xml
"font13" is defined in my font.xml
and refresh.png is present in my media folder (and loads for the button that is defined above.)
and my colors are defined in the default.xml in my colors folder
however my warplist isn't displaying at all and i haven't got a clue as to why, and debug says nothing at all about it...
an anyone see why its not showing up?
I'm trying to create my own skin (obviously) and am trying to use a wraplist.
below is the entirey of my home.xml
Code:
<window id="0">
<defaultcontrol always="true">1</defaultcontrol>
<allowoverlay>no</allowoverlay>
<backgroundcolor>black</backgroundcolor>
<controls>
<control type="image" id="9000">
<description>25 pixel grid</description>
<posx>0</posx>
<posy>0</posy>
<width>1280</width>
<height>720</height>
<visible>true</visible>
<texture>25ptGrid.png</texture>
<zorder>0</zorder>
</control>
<control type="image" id="9001">
<description>50 pixel grid</description>
<posx>0</posx>
<posy>0</posy>
<width>1280</width>
<height>720</height>
<visible>true</visible>
<texture>50ptGrid.png</texture>
<zorder>1</zorder>
</control>
<control type="button" id="1">
<description>Reload Button</description>
<posx>1200</posx>
<posy>650</posy>
<width>50</width>
<height>50</height>
<visible>true</visible>
<texturefocus>Refresh.png</texturefocus>
<texturenofocus>Refresh.png</texturenofocus>
<onclick>ReloadSkin()</onclick>
</control>
<control type="wraplist" id="8000">
<description>My first wraplist container</description>
<posx>80</posx>
<posy>60</posy>
<width>250</width>
<height>200</height>
<visible>true</visible>
<onup>2</onup>
<ondown>3</ondown>
<onleft>1</onleft>
<onright>1</onright>
<viewtype label="3D list">list</viewtype>
<orientation>vertical</orientation>
<pagecontrol>25</pagecontrol>
<focusposition>3</focusposition>
<scrolltime>200</scrolltime>
<itemlayout width="250" height="29">
<control type="image">
<posx>5</posx>
<posy>3</posy>
<width>22</width>
<height>22</height>
<info>ListItem.Icon</info>
</control>
<control type="label">
<posx>30</posx>
<posy>3</posy>
<width>430</width>
<height>22</height>
<font>font13</font>
<aligny>center</aligny>
<selectedcolor>green</selectedcolor>
<align>left</align>
<info>ListItem.Label</info>
</control>
<control type="label">
<posx>475</posx>
<posy>3</posy>
<width>300</width>
<height>22</height>
<font>font13</font>
<aligny>center</aligny>
<selectedcolor>green</selectedcolor>
<textcolor>white</textcolor>
<align>right</align>
<info>ListItem.Label2</info>
</control>
</itemlayout>
<focusedlayout height="29" width="250">
<control type="image">
<posx>5</posx>
<posy>3</posy>
<width>22</width>
<height>22</height>
<info>ListItem.Icon</info>
</control>
<control type="label">
<posx>30</posx>
<posy>3</posy>
<width>430</width>
<height>22</height>
<font>font13</font>
<aligny>center</aligny>
<selectedcolor>green</selectedcolor>
<align>left</align>
<info>ListItem.Label</info>
</control>
<control type="label">
<posx>475</posx>
<posy>3</posy>
<width>300</width>
<height>22</height>
<font>font13</font>
<aligny>center</aligny>
<selectedcolor>green</selectedcolor>
<textcolor>white</textcolor>
<align>right</align>
<info>ListItem.Label2</info>
</control>
</focusedlayout>
<content>
<item id="1">
<label>ReloadSkin</label>
<label2>Reloads the current skin</label2>
<icon>Reload.png</icon>
<thumb></thumb>
<onclick>ReloadSkin()</onclick>
<visible>true</visible>
</item>
<item id="2">
<label>Also</label>
<label2>Also Reloads Skin</label2>
<icon>Reload.png</icon>
<thumb></thumb>
<onclick>ReloadSkin</onclick>
</item>
</content>
</control>
</controls>
</window>
"font13" is defined in my font.xml
and refresh.png is present in my media folder (and loads for the button that is defined above.)
and my colors are defined in the default.xml in my colors folder
however my warplist isn't displaying at all and i haven't got a clue as to why, and debug says nothing at all about it...
an anyone see why its not showing up?