2010-01-24, 02:07
Hi, I try coding for the first time right now, and I just can't figure out why the images in this wraplist do not show. The images are in the folder and if I use <texture> instead of <info> and enter the file name directly it works. Would be very thankful for help, prob. a very dumb mistake of mine.
Code:
<control type="wraplist" id="107">
<posx>0</posx>
<posy>0</posy>
<width>1920</width>
<height>300</height>
<onleft>107</onleft>
<onright>107</onright>
<focusposition>2</focusposition>
<scrolltime>200</scrolltime>
<orientation>horizontal</orientation>
<itemlayout height="200" width="384" >
<control type="image">
<height>100</height>
<width>100</width>
<posx>192</posx>
<posy>0</posy>
<info>ListItem.Icon</info>
</control>
</itemlayout>
<focusedlayout height="300" width="384">
<control type="image">
<height>100</height>
<width>100</width>
<posx>192</posx>
<posy>0</posy>
<info>ListItem.Icon</info>
</control>
</focusedlayout>
<content>
<item id="1">
<icon>DefaultVideo.png</icon>
</item>
<item id="2">
<icon>DefaultVideo.png</icon>
</item>
<item id="3">
<icon>DefaultVideo.png</icon>
</item>
<item id="4">
<icon>DefaultVideo.png</icon>
</item>
<item id="5">
<icon>DefaultVideo.png</icon>
</item>
<item id="6">
<icon>DefaultVideo.png</icon>
</item>
<item id="7">
<icon>DefaultVideo.png</icon>
</item>
<item id="8">
<icon>DefaultVideo.png</icon>
</item>
</content>
</control>