[Kst] branches/work/kst/portto4/kst/src/libkstapp

Adam Treat treat at kde.org
Wed Oct 10 17:50:24 CEST 2007


SVN commit 723749 by treat:

* Let the plots truly overlap so we don't get an
extra bold line for the shared axis.


 M  +4 -4      plotitem.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/plotitem.cpp #723748:723749
@@ -119,10 +119,10 @@
 
 
 QRectF PlotItem::plotRegion() const {
-  qreal left = isLeftLabelVisible() ? marginWidth() : 0.5;
-  qreal bottom = isBottomLabelVisible() ? marginHeight() : 0.5;
-  qreal right = isRightLabelVisible() ? marginWidth() : 0.5;
-  qreal top = isTopLabelVisible() ? marginHeight() : 0.5;
+  qreal left = isLeftLabelVisible() ? marginWidth() : 0.0;
+  qreal bottom = isBottomLabelVisible() ? marginHeight() : 0.0;
+  qreal right = isRightLabelVisible() ? marginWidth() : 0.0;
+  qreal top = isTopLabelVisible() ? marginHeight() : 0.0;
 
   QPointF topLeft(rect().topLeft() + QPointF(left, top));
   QPointF bottomRight(rect().bottomRight() - QPointF(right, bottom));


More information about the Kst mailing list