I use QSplitter to place some widgets nearby.
As a user, I can resize these widgets by simply dragging the divider.
As a programmer, I donβt know how to specify exactly what width and what height I want at the moment.
This is my initial state (configured on different sites). 
I tried using setFixedSize (), but after this call the user can no longer resize widgets (and this is definitely the right behavior because the size becomes "fixed"). 
If I use resize (), this has almost no effect. The widget changes, but (!) Incorrectly and (!), When I start to drag the widget again, it gets its initial state. 
Is there a way to resize the remaining widget in the code correctly? I do not want to have a fixed size, but resizing () does not work properly, as you can see. So what should I do?
source share