[vlc-devel] commit: Resize the advanced properties of open capture with the scrollarea in the right way . (Jean-Baptiste Kempf )
git version control
git at videolan.org
Mon Aug 25 07:26:06 CEST 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 24 19:21:12 2008 -0700| [5b1be4982fd41e6107247ecb39fa90d6ed0f7f82] | committer: Jean-Baptiste Kempf
Resize the advanced properties of open capture with the scrollarea in the right way.
Close #1915
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5b1be4982fd41e6107247ecb39fa90d6ed0f7f82
---
modules/gui/qt4/components/open_panels.cpp | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index 9d922ac..5f4dcab 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 );
More information about the vlc-devel
mailing list