[Kst] [Bug 89437] Axis values display strangely

Andrew Walker arwalker at sumusltd.com
Tue Sep 14 19:46:33 CEST 2004


------- 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=89437        
arwalker sumusltd com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From arwalker sumusltd com  2004-09-14 19:46 -------
CVS commit by arwalker: 

Ensure old ticklabel settings are updated properly.
Remove obsolete code.

CCMAIL: 89437-done bugs kde org


  M +1 -2      kst2dplot.cpp   1.265


--- kdeextragear-2/kst/kst/kst2dplot.cpp  #1.264:1.265
 @ -175,4 +175,5  @ Kst2DPlot::Kst2DPlot(QDomElement& e)
         in_xticklabel = new KstLabel(" ");
         in_xticklabel->read(el);
+        in_xticklabel->setJustification(CxTy);
         in_yticklabel = new KstLabel(" ");
         in_yticklabel->read(el);
 @ -4818,5 +4819,4  @ void Kst2DPlot::plotAxes(QPainter& p, QR
     XFullTickLabel->setText(labelList[0]);
     XFullTickLabel->draw(p, d2i(xleft_bdr_px), y_px-(XLabel->lineSpacing(p) - XLabel->ascent(p))/2);
-    //XFullTickLabel->draw(p, x_px/2, y_px-XLabel->lineSpacing(p)-(XFullTickLabel->lineSpacing(p) - XFullTickLabel->ascent(p))/2);
     labelList.pop_front();
   }
 @ -4841,5 +4841,4  @ void Kst2DPlot::plotAxes(QPainter& p, QR
     YFullTickLabel->setText(labelList[0]);
     YFullTickLabel->draw(p, (YLabel->lineSpacing(p) - YLabel->ascent(p))/2, d2i(y_px - ybot_bdr_px));
-//    YFullTickLabel->draw(p, (YFullTickLabel->lineSpacing(p) - YFullTickLabel->ascent(p))/2 + YLabel->lineSpacing(p), y_px/2);
     labelList.pop_front();
   }



More information about the Kst mailing list