Kodi Community Forum
Mod Adding icons to the thumbnail view for videos - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Confluence (https://forum.kodi.tv/forumdisplay.php?fid=125)
+---- Thread: Mod Adding icons to the thumbnail view for videos (/showthread.php?tid=251791)



Adding icons to the thumbnail view for videos - micnolmad - 2015-12-12

Hello,

This is my first attempt to make anything for kodi so please bare with me and my lag of knowledge.

I am generally quite happy with kodi and confluence but we all have our little special ways of using it, thus comes the need for specialized skins.

What I am currently working on is adding icons on top of the thumbnails for shortcut access to functions I use daily. But I can't get the image to play nice. The button is displayed where I want it but the image will not move anywhere left or right. Up or down is working though.

This is my button and I have it in ViewsFileMode. So can someone help me to get image and button be over one another?
Code:
            <control type="button">
                <description>Info button</description>
                <right>0</right>
                <top>0</top>
                <width>45</width>
                <height>45</height>
                <onclick>ActivateWindow(Info)</onclick>
                <texturefocus border="5">floor_buttonFO.png</texturefocus>
                <texturenofocus border="5">floor_button.png</texturenofocus>
            </control>
            <control type="image">
                <description>Favourites Icon</description>
                <right>5r</right>
                <top>5</top>
                <width>35</width>
                <height>35</height>
                <aspectratio>keep</aspectratio>
                <texture>icon_favourites.png</texture>
            </control>

Next issue is that I don't know what to write to get it to open in item info dialog that we get from right-clicking a thumbnail video and selecting movie info.

Any help will be greatly appreciated.


RE: Adding icons to the thumbnail view for videos - micnolmad - 2015-12-14

Can noone give any help, please?