When are stretch factors ignored?

  • 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?

  • Lifetime Qt Champion


    Did you also set the stretch factor when inserting the widgets in the layout ?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.