color label for custom button?


#1

I want change color for label of a custom button, but only I see attribute setLabel.

nuke.toNode(‘NoOp’).knob(‘button’).setLabel(‘test’)

Exists attribute for this like title_color or gl_color?


#2

Well, I find solution with html tags support in Nuke. I used <font color> for setLabel.

nuke.toNode('NoOp').knob('button').setLabel("<font color='red'>test")