QSplitter child widget sizes affect eachother
Unsolved
General and Desktop
-
I have a QSplitter containing some widgets that can change size, basically they have a child widget that can be toggled shown or hidden. I made a minimal (PyQt5) example that shows the problem:
Code: https://pastebin.com/raw/gQGPgy6d
Demo: https://i.imgur.com/gMbO7Pq.gifvIt looks like the size of one widget affects the size of the other widgets, which is really unintuitive. This also prevents the "collapsed" widget from actually being fully collapsed, it still takes up a lot of space.
Is there a way to solve this?
-
Hi and welcome to devnet,
What version of PyQt are you using ?
How did you install it ?