Add image to wrap list at main menu
#1
Hi

I'm modding Alaska but it seems, perhaps, are more generel type of question.

When I have a Wraplist

PHP Code:
    <include name="HomeHorizontal">
        <
posx>-260</posx>
        <
posy>330</posy>
        <
height>60</height>
        <
width>1550</width>
        <
onleft>300</onleft>
        <
onright>300</onright>
        <
viewtype>list</viewtype>
        <
orientation>horizontal</orientation>
        <
focusposition>3</focusposition>
        <
scrolltime>200</scrolltime>
        <include>
Animation_ZoomOutZoomIn</include>
        <
itemlayout width="300" height="60">
            <
control type="label">
                <
width>300</width>
                <
height>60</height>
                <
align>center</align>
                <
aligny>center</aligny>
                <
font>Font_HomeListNF</font>
                <
textcolor>Time</textcolor>
                <
label>$INFO[ListItem.Label]</label>
                <
animation effect="fade" end="50" condition="true">Conditional</animation>
            </
control>
        </
itemlayout>-->
            <
focusedlayout width="300" height="60">
            <
control type="label">
                <
posx>0</posx>
                <
width>300</width>
                <
height>60</height>
                <
align>center</align>
                <
aligny>center</aligny>
                <
font>Font_HomeListF</font>
                <
textcolor>Time</textcolor>
                <
animation type="Focus" reversible="false">
                    <
effect type="fade" start="50" end="100" time="400" />
                </
animation>
                <
label>$INFO[ListItem.Label]</label>
            </
control>
        </
focusedlayout>
    </include>
    <include 
name="HomeList">
        <
control type="wraplist" id="300">
            <include 
condition="Skin.HasSetting(HomeHorizontal)">HomeHorizontal</include>
            <include 
condition="Skin.HasSetting(HomeVertical)">HomeVertical</include>
            <
content>
                <
item id="1">
                    <
description>Games</description>
                    <
label>Games</label>
                    <!--<
icon>special://skin/extras/homelist/settingsicon.png</icon>-->
                    
<onclick>ActivateWindow(10001,&quot;plugin://plugin.program.advanced.launcher/&quot;,return)</onclick>
                    
<visible>!Skin.HasSetting(NoSettings)</visible>
                </
item>    
                <
item id="2">
                    <
description>Movies</description>
                    <
label>$LOCALIZE[342]</label>
                    <!--<
label2>$INFO[Window.Property(Movies.Count),,  $LOCALIZE[342]]</label2>-->
                    <!--<
icon>special://skin/extras/homelist/moviesicon.png</icon>-->
                    
<onclick>ActivateWindow(VideoLibrary,movietitles,return)</onclick>
                    <
visible>!Skin.HasSetting(NoMovies)</visible>
                </
item

How do I add an image instead of text? I though it would be a matter of inserting an image or multiimage control but that doesn't seem to be the case

Any suggestions?
Reply
#2
Yes just replace with an image, it'll grab the image from the <content> section, using ListItem.Icon, so you should uncomment those. What's your code with the <image> inserted?

Side note- delete the --> here: </itemlayout>-->
Image

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
Reply

Logout Mark Read Team Forum Stats Members Help
Add image to wrap list at main menu0