2015-08-10, 21:46
Hey, I Have white icons which I want to colordiffuse in the same color as the text color. they are inside a list control (skin.shortcuts)
ListItem.Property(TextColor) - is the text color (FFRGB format)
for the label this:
is working fine
as for the icon, in the focused layout no problem, but in the itemlayout I need a little help:
this one is not working, because I guess $INFO is not supported in colordiffuse right?
but if I create a VAR with this INFO, it is working, but effect all the items...and not each one seperatly.
there is any workaround to make it work?
ListItem.Property(TextColor) - is the text color (FFRGB format)
for the label this:
Code:
<label>[COLOR=$INFO[ListItem.Property(TextColor)]]$INFO[ListItem.Label][/COLOR]</label>
as for the icon, in the focused layout no problem, but in the itemlayout I need a little help:
Code:
<texture background="true" colordiffuse="$INFO[ListItem.Property(TextColor)]">$INFO[ListItem.Thumb]</texture>
but if I create a VAR with this INFO, it is working, but effect all the items...and not each one seperatly.
there is any workaround to make it work?