Kodi Community Forum

Full Version: image id="998" bug in DialogContextMenu.xml?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
Weren't the top and bottom images dropped some time ago?
Yes it's just one image now (999).
Well that explains it then. Smile
Thanks guys.