fix the ratio between disk usage and package list
authorcoolo <coolo@e0cc52ee-31ee-0310-8b87-e83c4596d67c>
Fri, 7 Dec 2007 14:57:25 +0000 (14:57 +0000)
committercoolo <coolo@e0cc52ee-31ee-0310-8b87-e83c4596d67c>
Fri, 7 Dec 2007 14:57:25 +0000 (14:57 +0000)
git-svn-id: http://svn.opensuse.org/svn/yast/trunk/qt4@42818 e0cc52ee-31ee-0310-8b87-e83c4596d67c

src/pkg/YQPatternSelector.cc

index fa422c0..58806b8 100644 (file)
@@ -227,8 +227,8 @@ YQPatternSelector::layoutRightPane( QWidget * parent )
     _diskUsageList = new YQPkgDiskUsageList( lower_vbox );
     Q_CHECK_PTR( _diskUsageList );
 
-    splitter->setResizeMode( upper_vbox, QSplitter::Stretch );
-    splitter->setResizeMode( lower_vbox, QSplitter::KeepSize );
+    splitter->setStretchFactor( 0, 0 );
+    splitter->setStretchFactor( 0, 1 );
 
     return splitter;
 }