Commit 5b1be498 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

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

Close #1915
parent 0fba5732
......@@ -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