Color Picker with swatches on dockable UI

What type of scripts do you need?

Moderator: byronnash

Post Reply
User avatar
James VM
Posts: 4
Joined: October 29th, 2018, 11:50 pm

November 5th, 2019, 8:36 pm

Hi,

I've made a dockable UI panel and need to add adjustable color swatches to it. These swatches act like buttons, so when clicked they open the color picker and after a new color is selected, the swatch updates to the new color. I've managed to get the majority of it working thanks to these links :

https://forums.creativecow.net/thread/227/37093
http://creativetuts.com/create-a-scriptui-color-picker/

However after selecting the new color, it doesn't update in my UI panel.

Is there a limitation with UI panels? Would appreciate any help getting this to work, thanks in advance! :)
Post Reply