Kodi Community Forum
image id="998" bug in DialogContextMenu.xml? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: image id="998" bug in DialogContextMenu.xml? (/showthread.php?tid=202814)



image id="998" bug in DialogContextMenu.xml? - MacGyver - 2014-08-24

Did something change in the way that image id="998" gets processed?

I'm using 14.0-Alpha2 Git:20140801-62D01F6

And this:
Code:
    <controls>
        <control type="image" id="997">
            <description>background top image</description>
            <posx>0</posx>
            <posy>-50</posy>
            <width>400</width>
            <height>50</height>
            <texture>dialogs/ContextMenu_Top.png</texture>
            <colordiffuse>DialogBackgroundColor</colordiffuse>
        </control>
        <control type="image" id="999">
            <description>background image</description>
            <posx>0</posx>
            <posy>0</posy>
            <width>400</width>
            <height>730</height>
            <texture>dialogs/ContextMenu_Middle.png</texture>
            <colordiffuse>DialogBackgroundColor</colordiffuse>
        </control>
        <control type="image" id="998">
            <description>background bottom image</description>
            <posx>0</posx>
            <width>400</width>
            <height>50</height>
            <texture>dialogs/ContextMenu_Bottom.png</texture>
            <colordiffuse>DialogBackgroundColor</colordiffuse>
        </control>
        <control type="grouplist" id="996">
            <description>grouplist for context buttons</description>
            <left>20</left>
            <top>30</top>
            <width>360</width>
            <height max="670">auto</height>
            <itemgap>2</itemgap>
        </control>
        <control type="button" id="1000">
            <description>button template</description>
            <onleft>Dialog.Close(contextmenu)</onleft>
            <onright>Dialog.Close(contextmenu)</onright>
            <posx>40</posx>
            <posy>40</posy>
            <width>360</width>
            <height>35</height>
            <font>METF_DialogLarge</font>
            <align>center</align>
            <aligny>center</aligny>
            <textcolor>TextNF</textcolor>
            <focusedcolor>DialogTextFO</focusedcolor>
            <texturefocus border="1">ButtonFO2Wide.png</texturefocus>
        </control>
    </controls>

in DialogContextMenu.xml

That code no longer puts the image with the id 998 at the end of the variable context menu.

Image

Is this a bug, or a change for Kodi? I looked but could not find it as a listed change. If it is a change, what is the new way to put an image at the bottom of a variable window?
Confluence doesn't take advantage of this image id in DialogContextMenu.xml, so I can't see an example. Am I doing something wrong, it worked fine in 13?


RE: image id="998" bug in DialogContextMenu.xml? - Hitcher - 2014-08-24

Weren't the top and bottom images dropped some time ago?


RE: image id="998" bug in DialogContextMenu.xml? - `Black - 2014-08-24

Yes it's just one image now (999).


RE: image id="998" bug in DialogContextMenu.xml? - MacGyver - 2014-08-24

Well that explains it then. Smile
Thanks guys.