Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I'm writing a UI for Maya using PySide2, but I'm having a problem after implementing mayaMixin for the docking feature. After docking the window, it screw up the contents and resizing the window a tiny bit corrects this. I have tried to find an event to call, to try and update the QWidget, but there neither seems to exist an event that reliably calls whenever it is docked ( floatingChanged() seems to be the closest ) and calling some forms of adjustSize(), resize() or updateGeometry() seems to fix the issue. Any ideas on how I can avoid this kind of behavior? I have attached examples of the messed up docked UI and what the UI is supposed to look like. Thank you for your time.
- Mads
Solved! Go to Solution.