]> git.sesse.net Git - vlc/commitdiff
Qt4 - I prefer to have the left pane to not grow when the whole playlist is widenthed...
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 14 Dec 2007 02:54:05 +0000 (02:54 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 14 Dec 2007 02:54:05 +0000 (02:54 +0000)
modules/gui/qt4/components/playlist/playlist.cpp

index 8f078449c94bb01a178308702d879d0292b1a3a2..53a71a7ff62f0f46b4f7cec7d8b891e6c7fc4bfb 100644 (file)
@@ -91,6 +91,8 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QSettings *settings ) :
     sizeList << 180 << 420 ;
     setSizes( sizeList );
     setSizePolicy( QSizePolicy::Preferred, QSizePolicy::Expanding );
+    setStretchFactor( 0, 0 );
+    setStretchFactor( 1, 3 );
 
     /* In case we want to keep the splitter informations */
     settings->beginGroup( "playlist" );