If you want one widget to expand more than another use the H/V Stretch... QSizePolicy::setHorizontalStretch, look for vertical in the same page and use the one you need in your project to set widget "space" as you like.