Save vertical slider colours via preset change?
-
Is it possible to save different colours for UI components into presets? I want to ideally select UI colours for each preset separately using the colour grid. Not sure if this is possible?
-
@paper_lung This property isn't saved per preset, you'd need to script it.
-
@paper_lung place the colours into an object thus:
{
"MyControl1" : "0xFFAABBCC",
"MyControl2": "0xFF112233",..etc..
}
Place the object in a panels Panel.data
make the Panel saveInPreset
use a onPresetLoad callback to read the data and recolour your widgets...
-
@Lindon clever
-
@d-healey said in Save vertical slider colours via preset change?:
@Lindon clever
who me? Clearly evidence suggest otherwise...
-
Awesome, thanks @Lindon, I'll take a look at that!