QSplitter child widget sizes affect eachother
Unsolved
General and Desktop
-
wrote on 12 Sept 2019, 11:18 last edited by
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 ? -
wrote on 17 Sept 2019, 11:17 last edited by
PyQt5 5.13.0, installed using pip.
3/3