C++ (Qt)void QScrollArea::setAlignment ( Qt::Alignment ) This property holds the alignment of the scroll area's widget.By default, the widget stays rooted to the top-left corner of the scroll area.