Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PySide docking changed in 2015?

1 REPLY 1
Reply
Message 1 of 2
david_coleman
302 Views, 1 Reply

PySide docking changed in 2015?

Something changed, not sure what, but all my docked floatingLayouts now dock themselves underneath my other docked floatingLayouts.  Anyone else figure this out?  How do I force it to top?

 

floatingLayout = pm.paneLayout('floatingLayout', configuration='single', width=346, height=545, parent='MayaWindow')
pm.dockControl('dock', allowedArea=['right', 'left'], area='right', content=floatingLayout, enablePopupOption=True, label='MyStuff', width=350) 
pm.control('MyStuff', e=True, p=floatingLayout)

 

Tags (1)
1 REPLY 1
Message 2 of 2

For anyone that runs into this..  Autodesk let me know that you can use the visible=True flag on dockControl to set the focus to the top.  I guess the default for this changed in 2015.. 

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report