You can use html tags on label text. So for example if you add a Check Box knob to a node and enter this as the label <font size=5 color=red> <b>Big Red Text
That would make some big red text as your label. I'll use as well sometimes to add whitespace, which can be difficult to do otherwise. As for the interactive color change, you would probably have to add a python knobChanged callback on the node. There's a hidden knob called knobChanged that you can add code to. If you do go down the knobchanged road, here are some suggestions: - Immediately escape the code after grabbing the knob and/or node so that the complexity of the executing code is as simple as possible. > k = nuke.thisKnob() > if k.name() == 'my_knob': > # do stuff Even with this in place, knobchanged callback on nodes can really slow down bigger scripts. The reason is that this code executes every time any knob on the node is changed (the position knobs can be changed often). If it's absolutely necessary to use knobChanged code, I've found it to be helpful to actually put the knob that needs to callback on a node inside the group, and then put the knobChanged code on that node, and then expose that node in the parent group. That way you will be executing the knobchanged callback ONLY when the knob is changed. Hope that helps! On Thu, Nov 17, 2016 at 5:10 PM, Darren Coombes <darren.coom...@me.com> wrote: > Hi All, > Say I’ve got a gizmo with a bunch of checkboxes listed, and i’d like to > make the text red instead of the default white, how do you do that? > Can you get it to change colour depending on if it’s true or false too? > > Thanks. > > Check out some of my work... > *www.vimeo.com/darrencoombes/reel2015 > <http://www.vimeo.com/darrencoombes/reel2015>* > > *Mob: +61 418 631 079 <+61%20418%20631%20079>* > IMDB: www.imdb.com/name/nm3719099/ > *Instagram: @7secondstoblackInstagram: @durwood0781Skype: > darren.coombes81Twitter: @durwood81* > > > _______________________________________________ > Nuke-users mailing list > Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users >
_______________________________________________ Nuke-users mailing list Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users