Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
When are stretch factors ignored?
Moschops last edited by
I've got a frame. The frame contains two groupboxes, one on the left and one on the right. I want the one on the right to be wider. So I set the "sizePolicy->Horizontal Stretch" of the one of the left to 1, and the one on the right to 8. They come out with the same width. So what else do I need to change to make the "sizePolicy->Horizontal Stretch" actually do something?
Did you also set the stretch factor when inserting the widgets in the layout ?