remove sizepolicy and try to add a stretch below the layout.
QVboxLayout *vl = new ....;
vl->addWidget(label);
vl->addWidget(widget);
vl->addStretch();
remove sizepolicy and try to add a stretch below the layout.
QVboxLayout *vl = new ....;
vl->addWidget(label);
vl->addWidget(widget);
vl->addStretch();
Bookmarks