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

List:       kde-core-devel
Subject:    Re: Kicker uglyness
From:       Melchior FRANZ <a8603365 () unet ! univie ! ac ! at>
Date:       2003-07-08 6:54:10
[Download RAW message or body]

* 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);
[prev in list] [next in list] [prev in thread] [next in thread] 

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