All pastes #18072 Raw Edit

Untitled

public text v1 · immutable
#18072 ·published 2005-07-19 18:10 UTC
rendered paste body
Index: graph.cpp
===================================================================
RCS file: /cvs/opie/noncore/apps/checkbook/graph.cpp,v
retrieving revision 1.7
diff -u -u -r1.7 graph.cpp
--- graph.cpp   30 Mar 2004 17:49:34 -0000      1.7
+++ graph.cpp   19 Jul 2005 18:15:37 -0000
@@ -97,8 +97,9 @@
        QPainter p( &graph );

        // 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 );

        int x = 0;
@@ -133,8 +134,9 @@
        QPainter p( &graph );

        // 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 );

        int n = data->numberDataPoints();