2014-05-27, 20:52
So, if you use a VAR in itemlayout to check a Listitem condition isn't it supposed to check for the ListItem that is not in focus?
With the following code it changes the colordiffuse of the itemlayout based on whether the focused item has a clearlogo.
Is it supposed to do that?
With the following code it changes the colordiffuse of the itemlayout based on whether the focused item has a clearlogo.
Is it supposed to do that?
Code:
<control type="panel" id="637">
...
<itemlayout height="325" width="410">
...
<control type="image">
<texture>$INFO[ListItem.Art(fanart)]</texture>
<colordiffuse>$VAR[LogoDiffuse]</colordiffuse>
</control>
<control type="image">
<texture>$INFO[ListItem.Art(clearlogo)]</texture>
</control>
Code:
<variable name="LogoDiffuse">
<value condition="!IsEmpty(ListItem.Art(clearlogo))">D7E5E5E5</value>
<value>FFFFFFFF</value>
</variable>