Kicker uglyness

Melchior FRANZ a8603365 at unet.univie.ac.at
Tue Jul 8 07:54:10 BST 2003


* Melchior FRANZ -- Sunday 29 June 2003 20:30:
> Because my toolbars do since 2003/06/23 look exactly like Waldo's
> kicker. Could, of course, be a coincidence. Looks like the button
> size is calculated differently now. See a screenshot of my toolbars
> attached and compare.

ktoolbar.cpp -r1.350 fixed it, and -r1.351 broke it again. I've
now made the below change. It may not be the right thing to do
but fixes the toolbar for me again. (Quanta does still work, too.)

m.   :-/



diff -u -p -U1 -r1.351 ktoolbar.cpp
--- ktoolbar.cpp        7 Jul 2003 17:12:29 -0000       1.351
+++ ktoolbar.cpp        8 Jul 2003 06:50:54 -0000
@@ -1359,3 +1359,3 @@ QSize KToolBar::sizeHint() const

-          minSize = minSize.expandedTo(QSize(0, sh.height()));
+          minSize = minSize.expandedTo(QSize(0, sh.height()+2));
           minSize += QSize(sh.width()+1, 0);
@@ -1381,3 +1381,3 @@ QSize KToolBar::sizeHint() const

-          minSize = minSize.expandedTo(QSize(sh.width(), 0));
+          minSize = minSize.expandedTo(QSize(sh.width()+2, 0));
           minSize += QSize(0, sh.height()+1);




More information about the kde-core-devel mailing list