-rw-r--r-- | noncore/apps/checkbook/graph.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/apps/checkbook/graph.cpp b/noncore/apps/checkbook/graph.cpp index 72da738..279285a 100644 --- a/noncore/apps/checkbook/graph.cpp +++ b/noncore/apps/checkbook/graph.cpp @@ -98,6 +98,7 @@ void Graph::drawBarChart( int width, int height, float max, float min ) // Try to set the font size smaller for text + // it would be nice to get _pCfg->getUseSmallFont here QFont f = font(); - f.setPointSize( 8 ); + f.setPointSize( f.pointSize()-1 ); p.setFont( f ); @@ -134,6 +135,7 @@ void Graph::drawPieChart( int width, int height, float sum ) // Try to set the font size smaller for text + // it would be nice to get _pCfg->getUseSmallFont here QFont f = font(); - f.setPointSize( 8 ); + f.setPointSize( f.pointSize()-1 ); p.setFont( f ); |