Just add the labels in a QVBoxLayout, install the layout on a plain QWidget and set it inside a QScrollArea.