Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
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 ?