2015-09-09, 16:41
(2015-09-09, 16:03)tomer953 Wrote: I did It with My skin, I will show you the code if needed...
You will need two buttons:
- hidden button with id 404
- The visible control "Choose Color" that will launch your color picker, and then in the OK button - set the property, and sendclick to 404 button
Read the readme in the skinshortcuts script, I followed the instruction there and it worked for me.
btw, I saw in other thread that you want to apply different background color for menus, and you will need to colordiffuse the itemlayout menus in different colors - which is not possible AFAIK I asked for it earlier in this forum - but no solution for now... If you have any idea how to solve it, please share.
I know how to do it by making my own colour picker. However, I want to use the colour picker that this script provides - I want users to be able to add colours to the extras/colors/colors.xml file and have it be consistent. Also, itemlayout isn't a problem for me as I only use the colour for the focused item.
One way around the itemlayout problem would be to use a hidden list and then have a grouplist of buttons that pull info from the hidden list. Then set <texturenofocus colordiffuse="$INFO[Container(id).ListItem(#).Property(color)]">