2014-04-13, 22:59
Hello there,
This is my first stab at developing a skin for XBMC.
I am as new to this as noobs come. Not sure if it is even possible, but trying to have a wraplist with roughly this format:
[icon displayed here] Videos
[icon displayed here] Music
[icon displayed here] TV shows
To that end, my code is:
The wraplist shows and operates correctly with the exception of icons.
They don't show up at all.
How do I get them to show, if such a thing is possible within a wraplist?
Any help, tips, pointers and/or scoldings are appreciated!
Many thanks!
This is my first stab at developing a skin for XBMC.
I am as new to this as noobs come. Not sure if it is even possible, but trying to have a wraplist with roughly this format:
[icon displayed here] Videos
[icon displayed here] Music
[icon displayed here] TV shows
To that end, my code is:
Code:
<control type="wraplist" id="300">
<description>Home Wraplist</description>
<posx>0</posx>
<posy>72</posy>
<width>680</width>
<height>364</height>
<onup>300</onup>
<ondown>300</ondown>
<onleft>300</onleft>
<onright>300</onright>
<focusposition>5</focusposition>
<scrolltime>200</scrolltime>
<autoscroll>false</autoscroll>
<itemlayout width="650" height="120">
<control type="image">
<icon>$INFO[LisItem.Icon]</icon>
<width>180</width>
<posx>10</posx>
<posy>30</posy>
</control>
<control type="label">
<height>90</height>
<posx>200</posx>
<posy></posy>
<info>ListItem.Label</info>
<font>XLarge</font>
<textcolor>white</textcolor>
</control>
</itemlayout>
<focusedlayout width="650" height="120">
<control type="image">
<icon>$INFO[LisItem.Icon]</icon>
<width>180</width>
<posx>10</posx>
<posy>30</posy>
</control>
<control type="label">
<height>90</height>
<posx>200</posx>
<posy></posy>
<info>ListItem.Label</info>
<font>XLarge</font>
<textcolor>red</textcolor>
</control>
</focusedlayout>
<content>
<item id="1">
<description>Movies</description>
<label>31006</label>
<thumb>pictures.png</thumb>
<onclick>ActivateWindow(Video,movietitles)</onclick>
</item>
<item id="2">
<description>Music</description>
<label>31004</label>
<icon>icons/earphones.png</icon>
<onclick>ActivateWindow(Video,movietitles)</onclick>
</item>
<item id="3">
<description>Settings</description>
<label>13000</label>
<icon>icons/earphones.png</icon>
<onclick>ActivateWindow(Settings)</onclick>
</item>
</content>
</control>
The wraplist shows and operates correctly with the exception of icons.
They don't show up at all.
How do I get them to show, if such a thing is possible within a wraplist?
Any help, tips, pointers and/or scoldings are appreciated!
Many thanks!