Beatiful, thanks! works a treat!


p = nukescripts.panels.PythonPanel("RotoPaint to Splinewarp")

k = nuke.String_Knob("msg",'<b><font size="3" color="red">WARNING</font></b>')

p.addKnob(k)

result = p.showModalDialog()




Hi.
I know you can use some html when making user knobs in a node, I'm assuming it would work on a panel too.

Erwan

On 26 Feb 2014 05:24, "Magno Borgo" <li...@borgo.tv> wrote:
Is it possible to format text when creating panels?

Lets say I want to display a BIG RED TEXT warning to the user

p = nukescripts.panels.PythonPanel("RotoPaint to Splinewarp")
k = nuke.String_Knob("msg","WARNING!")
p.addKnob(k)
result = p.showModalDialog()



--
Magno Borgo
Certified Nuke Trainer
www.boundaryvfx.com
www.borgo.tv
Brasil:Curitiba:GMT= -3
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python



--
Magno Borgo
Certified Nuke Trainer
www.boundaryvfx.com
www.borgo.tv
Brasil:Curitiba:GMT= -3
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to