Actually, this does help … but it does not really fix it, depending on the font size used …
On my notebook, I have a 14" screen and thus use a bigger font (we're all not 20 anymore, are we?! ;-)
However, this is what I get there:
1.png
So, due to the bigger font, I still get that "smaller but still usable" top-bottom compression. When I resize the dialog, the widgets grow to the size they should have, but they won't grow larger:
2.png
So, we're back to the initial question … Despite QSizePolicy::Fixed set for the vertical size, the widget can shrink a bit smaller, causing this "small but still usable" compression for the combo and spin boxes – and clipping the label texts that contain line breaks.
No matter what I do, I can't seem to prevent the clipping. Also doing setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed) on each and every widget within the box does not change anything – I can still clip the label text and still "compress" the combo and spin boxes.
What I also tried is to play with size constraints. When I do setSizeConstraint(QLayout::SetMinimumSize) on the box's layout, then the following happens:
3.png
The compression and clipping is gone – but now, the whole box is clipped instead :-( Resizing the dialog makes it visible again, and it also does not grow larger than the actually needed vertical size. But somehow, the layout thinks it does not need this space … either, it lacks inside the box, or outside of it …