I have a QVBoxLayout into which I add things qlineEdit and buttons. These will then space themselves out nicely. However the QLabel does no do this, it takes up as much space as possible and squeezes the rest together. I would like it to behave like the other widgets.

so a layout like

_


_


_

turns into


label


_
_
_



Beautiful illustration. Anyhow really need help on this