[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kio/kfile
From:       Martin Koller <m.koller () surfeu ! at>
Date:       2005-02-20 14:26:12
Message-ID: 20050220142612.D33211BAF7 () office ! kde ! org
[Download RAW message or body]

CVS commit by mkoller: 


Fix resize behavior of image preview: give the image the space the
user defined with the splitter by prohibiting the empty grid-column to grow.


  M +1 -1      kimagefilepreview.cpp   1.21


--- kdelibs/kio/kfile/kimagefilepreview.cpp  #1.20:1.21
@@ -41,5 +41,5 @@ KImageFilePreview::KImageFilePreview( QW
 
     QGridLayout *vb = new QGridLayout( this, 2, 2, 0, KDialog::spacingHint() );
-    vb->setColSpacing( 0, KDialog::marginHint() );
+    vb->addItem( new QSpacerItem(KDialog::marginHint(), 0, QSizePolicy::Fixed), 0, 0 );
 
     imageLabel = new QLabel( this );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic