Commit 7a754341 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf Committed by Christophe Mutricy

Resize the advanced properties of open capture with the scrollarea in the right way.

Close #1915
(cherry picked from commit 5b1be498)
Signed-off-by: default avatarChristophe Mutricy <xtophe@videolan.org>
parent 819ead88
......@@ -1119,15 +1119,13 @@ void CaptureOpenPanel::advancedDialog()
/* A main Layout with a Frame */
QVBoxLayout *mainLayout = new QVBoxLayout( adv );
QFrame *advFrame = new QFrame;
QScrollArea *scroll = new QScrollArea;
mainLayout->addWidget( scroll );
QFrame *advFrame = new QFrame;
/* GridLayout inside the Frame */
QGridLayout *gLayout = new QGridLayout( advFrame );
gLayout->setSizeConstraint( QLayout::SetFixedSize );
scroll->setHorizontalScrollBarPolicy( Qt::ScrollBarAlwaysOff );
scroll->setWidgetResizable( true );
scroll->setWidget( advFrame );
......
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