Commit c571c4db authored by Alvaro Sanchez's avatar Alvaro Sanchez Committed by Kitware Robot

Merge topic 'fix-scrollarea-align' into release

0e2be1ed Do not AlignVCenter qtBaseView's central widget.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: T.J. Corona's avatarT.J. Corona <tj.corona@kitware.com>
Merge-request: !884
parents ee3d631c 0e2be1ed
......@@ -318,7 +318,7 @@ void qtBaseView::makeTopLevel()
this->m_ScrollArea = new QScrollArea(this->parentWidget());
this->m_ScrollArea->setWidgetResizable(true);
this->m_ScrollArea->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
this->m_ScrollArea->setAlignment(Qt::AlignHCenter);
this->m_ScrollArea->setFrameShape(QFrame::NoFrame);
this->m_ScrollArea->setObjectName("topLevelScrollArea");
parentlayout->addWidget(this->m_ScrollArea);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment