2015-12-12, 17:04
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?
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.
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.