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 8f07844..53a71a7 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" );