[Kst] [Bug 121166] Labels with borders don't always have equal borders on all sizes

Andrew Walker arwalker at sumusltd.com
Mon May 8 19:38:12 CEST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=121166         




------- Additional Comments From arwalker sumusltd com  2006-05-08 19:38 -------
SVN commit 538727 by arwalker:

CCBUG:121166 Ensure border always drawn on all sides of the legend.

 M  +1 -1      kstviewlegend.cpp  


--- trunk/extragear/graphics/kst/src/libkstapp/kstviewlegend.cpp #538726:538727
 @ -391,7 +391,7  @
     _myClipMask = QRegion(bm);
     _myClipMask.translate(cr.topLeft().x(), cr.topLeft().y());
 
-    QBitmap bm1(_geom.bottomRight().x(), _geom.bottomRight().y(), true);
+    QBitmap bm1(_geom.bottomRight().x() + 1, _geom.bottomRight().y() + 1, true);
     if (!bm1.isNull()) {
       KstPainter p;
       p.setMakingMask(true);


More information about the Kst mailing list