Everything is ok. QLayout::setAlignment(Qt::Alignment) changes the alignment of the layout, not the items inside it. You should use QLayout::setAlignment(QWidget *, Qt::Alignment) variant instead.
Everything is ok. QLayout::setAlignment(Qt::Alignment) changes the alignment of the layout, not the items inside it. You should use QLayout::setAlignment(QWidget *, Qt::Alignment) variant instead.
Cupidvogel (17th January 2016)
Bookmarks