Skip to content

Commit 1aee70f

Browse files
author
telwertowski
committed
Use relative rather then absolute font size since the "standard" font characteriics can vary between platform.
git-svn-id: http://svn.osgeo.org/qgis/trunk@9160 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 5f428f2 commit 1aee70f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/app/qgsattributetable.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ QgsAttributeTable::QgsAttributeTable( QWidget * parent ) :
7878
mPreviousSortIndicatorColumn( -1 )
7979
{
8080
QFont f( font() );
81-
f.setFamily( "Helvetica" );
82-
f.setPointSize( 9 );
81+
f.setPointSize( f.pointSize() - 2 );
8382
setFont( f );
8483
mDelegate = new QgsAttributeTableItemDelegate( this );
8584
setItemDelegate( mDelegate );

0 commit comments

Comments
 (0)