Kodi Community Forum

Full Version: id identify
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how to identify what ID should I use? I need that buttons follow in order.
Code:
            <control type="button" id="???">
                <description>Favourites push button</description>
                <posx>110</posx>
                <posy>0</posy>
                <width>45</width>
                <height>45</height>
                <label>1036</label>
                <font>-</font>
                <aligny>-</aligny>
                <onclick>ReloadSkin()</onclick>
                <texturefocus border="5">floor_buttonFO.png</texturefocus>
                <texturenofocus border="5">floor_button.png</texturenofocus>
                <onleft>20</onleft>
                <onright>20</onright>
                <onup>9002</onup>
                <ondown>9003</ondown>
            </control>
            <control type="image" id="???">
                <description>Favourites Icon</description>
                <posx>115</posx>
                <posy>5</posy>
                <width>35</width>
                <height>35</height>
                <aspectratio>keep</aspectratio>
                <texture>icon_favourites.png</texture>
            </control>
The <id> you use can be whatever you like (as long as it's not one already used in the same window, ofc). You reference it in the <onleft> etc. for navigation, if that's what you mean?
thx for explanation. i have in left corner favorites, power buttons and i want create more buttons, for example "reload skin". but i don't know there is my mistakes, because when i copy button code and change location <posx>110</posx> <posy>0</posy> and <onclick>ReloadSkin()</onclick> with narrow keys i cant navigate there just with mouse. what im doing wrong?