View Single Post
Posts: 435 | Thanked: 769 times | Joined on Apr 2010
#2
If you're using QtDesigner, right click inside the QScrollArea and pick a layout, than you can start adding your labels.

If the scroll area is a lot bigger, than expand your main window to the bottom and make a QWidget where you place all your objects, than in the MainWindow constructor set this widget inside the scrollArea: ui->scrollArea->setWidget(ui->widget);
 

The Following User Says Thank You to gionni88 For This Useful Post: