[QGIS Commit] r9160 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun Aug 24 18:13:48 EDT 2008


Author: telwertowski
Date: 2008-08-24 18:13:48 -0400 (Sun, 24 Aug 2008)
New Revision: 9160

Modified:
   trunk/qgis/src/app/qgsattributetable.cpp
Log:
Use relative rather then absolute font size since the "standard" font characteriics can vary between platform.


Modified: trunk/qgis/src/app/qgsattributetable.cpp
===================================================================
--- trunk/qgis/src/app/qgsattributetable.cpp	2008-08-24 21:09:20 UTC (rev 9159)
+++ trunk/qgis/src/app/qgsattributetable.cpp	2008-08-24 22:13:48 UTC (rev 9160)
@@ -78,8 +78,7 @@
     mPreviousSortIndicatorColumn( -1 )
 {
   QFont f( font() );
-  f.setFamily( "Helvetica" );
-  f.setPointSize( 9 );
+  f.setPointSize( f.pointSize() - 2 );
   setFont( f );
   mDelegate = new QgsAttributeTableItemDelegate( this );
   setItemDelegate( mDelegate );



More information about the QGIS-commit mailing list