Skip to content

Commit

Permalink
Use relative rather then absolute font size since the "standard" font…
Browse files Browse the repository at this point in the history
… characteriics can vary between platform.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9160 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Aug 24, 2008
1 parent 71918a7 commit 4a3816c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/qgsattributetable.cpp
Expand Up @@ -78,8 +78,7 @@ QgsAttributeTable::QgsAttributeTable( QWidget * parent ) :
mPreviousSortIndicatorColumn( -1 )
{
QFont f( font() );
f.setFamily( "Helvetica" );
f.setPointSize( 9 );
f.setPointSize( f.pointSize() - 2 );
setFont( f );
mDelegate = new QgsAttributeTableItemDelegate( this );
setItemDelegate( mDelegate );
Expand Down

0 comments on commit 4a3816c

Please sign in to comment.