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

List:       kde-commits
Subject:    koffice/kivio/kiviopart
From:       Peter Simonsson <psn () linux ! se>
Date:       2003-05-31 17:24:04
[Download RAW message or body]

CVS commit by psn: 

Fixing the ubg that makes the stencilbar too big when opening a file


  M +2 -2      stencilbardockmanager.cpp   1.12


--- koffice/kivio/kiviopart/stencilbardockmanager.cpp  #1.11:1.12
@@ -120,6 +120,6 @@ void StencilBarDockManager::insertStenci
           QValueList<int> newSizes;
           sizes = split1->sizes();
-          newSizes << split1->width()/4;
-          newSizes << (split1->width() - split1->width()/4 - sizes[2]);
+          newSizes << bar->minimumWidth();
+          newSizes << (split1->width() - bar->minimumWidth() - sizes[2]);
           newSizes << sizes[2];
           split1->setSizes(newSizes);


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

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