]> git.sesse.net Git - vlc/commitdiff
Don't expand the bar, but the video during resizing...
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 24 Jun 2008 23:41:45 +0000 (16:41 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 24 Jun 2008 23:41:45 +0000 (16:41 -0700)
modules/gui/qt4/components/interface_widgets.cpp

index 4b31941c38083172cd2ab26ba18ae5d3ec853242..8f77aaaf1ec121b4d694362709add8aa12596ac5 100644 (file)
@@ -65,6 +65,7 @@ VideoWidget::VideoWidget( intf_thread_t *_p_i ) : QFrame( NULL ), p_intf( _p_i )
     hide(); setMinimumSize( 16, 16 );
     videoSize.rwidth() = -1;
     videoSize.rheight() = -1;
+    setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding );
 
     /* Black background is more coherent for a Video Widget IMVHO */
     QPalette plt =  palette();