Hi, I’m trying to create a layout with a drawer that works as a splitter. For that I’m using a QDrawer and a QPageContainer as the
#after slots of QSplitter, respectively, and have the QDrawer width updated in real time as the splitter moves. Seems to work at first, but there are problems. First, when the drawer is collapsed, the splitter still shows up, and the QPageContainer elements are in the wrong position. Also, the contents move twice as fast as they should.
Here is a pen that shows all these problems.
I suspect there should be a better and more elegant way to do it, but I found none, not here, not or on the net. Any pointers?
Many thanks in advance!