Message 1 of 1
Adding tab to my GUI Maya app tabLayout?
Not applicable
12-04-2012
11:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
while building gui i make a call to outliner widnow
this creates a floating Outliner window then
i used control to put it to my docked GUI inside tab like this
as on maya station second method.
however I then get into two problems
first : it does get docked insde as second tab with outliner but it doesnt show up of full height,
secondly : if i close my app the i get error saying OutlinerPanel1Window not found, which actually got destroyed with me closing my app, so how to check if it doesnt exist to create one
#outliner tab
self.widgets=cmds.columnLayout("outlinerLayout", h=300,adjustableColumn=True,parent="tabLayout")
cmds.OutlinerWindow()
this creates a floating Outliner window then
i used control to put it to my docked GUI inside tab like this
mel.eval('control -e -p '+self.widgets+' outlinerPanel1Window;')
as on maya station second method.
however I then get into two problems
first : it does get docked insde as second tab with outliner but it doesnt show up of full height,
secondly : if i close my app the i get error saying OutlinerPanel1Window not found, which actually got destroyed with me closing my app, so how to check if it doesnt exist to create one
