Solved Set minimum size between QWidgets in QSplitter
-
Hi,
I add three items to QSplitter. Whan I launch my app I can see that these widgets are located close to each other but when I drag splitter the distance between widgets is growing. How to set minimum space between widgets in splitter?
-
IIRC, QSplitter stays in the range of size allowed by the widget. Try setting a fixed size on your widget button.
-
Hi,
Do you mean you want your button widget to stay at the exact same size and move up and down following the handle you are using ?
-
@SGaist yes, I want that the heigh of my buttons stay the same (when dragging spacer the heigh of buttons should be the same like when the app were created)
-
IIRC, QSplitter stays in the range of size allowed by the widget. Try setting a fixed size on your widget button.
-
@SGaist that worked, thank you!