From: Jean-Baptiste Kempf Date: Mon, 25 Aug 2008 02:21:12 +0000 (-0700) Subject: Resize the advanced properties of open capture with the scrollarea in the right way. X-Git-Tag: 1.0.0-pre1~3908 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=5b1be4982fd41e6107247ecb39fa90d6ed0f7f82;p=vlc Resize the advanced properties of open capture with the scrollarea in the right way. Close #1915 --- diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp index 9d922acf55..5f4dcaba62 100644 --- a/modules/gui/qt4/components/open_panels.cpp +++ b/modules/gui/qt4/components/open_panels.cpp @@ -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 );