Adding tab to my GUI Maya app tabLayout?

Adding tab to my GUI Maya app tabLayout?

Anonymous
Not applicable
403 Views
0 Replies
Message 1 of 1

Adding tab to my GUI Maya app tabLayout?

Anonymous
Not applicable
while building gui i make a call to outliner widnow
#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

0 Likes
404 Views
0 Replies
Replies (0)