2018-08-10, 18:58
I'm working on some custom changes and I need to figure out how to target specific widgets but I'm kind of stuck.
I figured out how to have a fixed focus on widgets using this:
But now I want to show an image for specific widgets eg. certain movies widget, or maybe the second or third TV Shows widget whilst selected/focused
I managed to target the first movies widget with this:
and second movies widget ID being #3003 but where/how can I find the TV Shows ID's?
Thanks again
I figured out how to have a fixed focus on widgets using this:
xml:<control type="fixedlist" id="$PARAM[id]">
<onclick condition="String.IsEqual(Container($PARAM[id]).ListItem.DBType,movie)">Action(Info)</onclick>
<top>300</top>
......
</control>
But now I want to show an image for specific widgets eg. certain movies widget, or maybe the second or third TV Shows widget whilst selected/focused
I managed to target the first movies widget with this:
xml:<control type="image">
<left>-120</left>
<top>300</top>
<width>500</width>
<aspectratio aligny="center">keep</aspectratio>
<texture>special://skin/extras/icons/addon.png</texture>
<visible>Control.HasFocus(3002)</visible>
</control>
and second movies widget ID being #3003 but where/how can I find the TV Shows ID's?
Thanks again