Hi,
How can I set a pane to a certain width?
I’m creating my own pyside widget and I’m attaching it to a pane like this:
pane = nuke.getPaneFor('Toolbar.1')
panel = panels.registerWidgetAsPanel( 'MyApp' , windowTitle,
('uk.co.thefoundry.MyAppWindow'), True)
panel.addToPane(pane)
And then I try to perform a pane.setWidth(350). But that just doesn’t work
althought I can view the current width with print pane.width().
I can’t find anything in the python docs on anything like a nuke.pane
either...
Any ideas?
Regards,
Fredrik
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python