2015-11-06, 21:06
(2015-11-06, 10:41)braz Wrote: Might be difficult to display properly if you have one container size and varying numbers of colors in each color.xml?
I like the looks of the color table with 500+ colors, but for my purposes the smaller color table (~100 colors) has all of the ones I need. Like you say though, some will likely want more.
Would it be possible to pass the header label to the script when calling the color picker? Something like...
Code:RunScript(script.skin.helper.service,action=colorpicker,skinstring=highlight,label="Header label")
I work around this with a variable that displays the appropriate header label based on a skin setting.
Thanks again for the script, it opens up so many opportunities.
I think I've found a solution for that ;-)
I have just added support for multiple color palettes to the script. You can specify multiple color palettes, open the picker with a specific palette and have a different itemlayout for each palette. Off course it's backwards compatible with the old method.
As a start I included the 2 color palettes created by you by default in the picker so now you can switch between those two.
Have a look at the updated readme how this stuff works, it's pretty cool.
Also I have added a header= parameter to define the header label yourself. Make sure to give the header label the ID 1.