Just an FYI; in the past doing so could sometimes cause random Nuke crashes. I'm not sure if that is still the case or not, but I recommend not over-using the feature.
- John Vanderbeck - http://www.johnvanderbeck.com On Wed, Feb 26, 2014 at 8:44 AM, Magno Borgo <[email protected]> wrote: > 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" <[email protected]> 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 >> [email protected], 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 > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > >
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
