[Kst] [Bug 190050] New: Make it possible to set the font of the axis labels in a KPlotWidget
Job Noorman
jobnoorman at gmail.com
Sun Apr 19 12:28:17 CEST 2009
https://bugs.kde.org/show_bug.cgi?id=190050
Summary: Make it possible to set the font of the axis labels in
a KPlotWidget
Product: kst
Version: unspecified
Platform: Ubuntu Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: wishlist
Priority: NOR
Component: plotting
AssignedTo: kst at kde.org
ReportedBy: jobnoorman at gmail.com
Version: (using KDE 4.2.2)
OS: Linux
Installed from: Ubuntu Packages
I would like to be able to chose the font that is used to draw the labels of
axes in a KPlotWidget. ATM, the font is really small and I can't find a way to
change this.
I found the following code in KPlotWidget::drawAxes:
00715 //set small font for tick labels
00716 QFont f = p->font();
00717 int s = f.pointSize();
00718 f.setPointSize( s - 2 );
00719 p->setFont( f );
So the font size is decreased to draw the tick labels but after this, it is
never increased again to draw the axis labels. Is this a bug?
Cheers!
Job
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kst
mailing list