Skip to content
Permalink
Browse files
Set font using platform conditional.
git-svn-id: http://svn.osgeo.org/qgis/trunk@9169 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Aug 25, 2008
1 parent c05bfb5 commit 0488cf9d4cc28ace114ebadf5432a2435ced67f4
Showing with 7 additions and 1 deletion.
  1. +7 −1 src/app/qgsattributetable.cpp
@@ -78,7 +78,13 @@ QgsAttributeTable::QgsAttributeTable( QWidget * parent ) :
mPreviousSortIndicatorColumn( -1 )
{
QFont f( font() );
f.setPointSize( f.pointSize() - 2 );
#ifdef Q_WS_MAC
// The default application font for OS X is Lucida Grande 13 point; for small, use 11 point
f.setPointSize( 11 );
#else
f.setFamily( "Helvetica" );
f.setPointSize( 9 );
#endif
setFont( f );
mDelegate = new QgsAttributeTableItemDelegate( this );
setItemDelegate( mDelegate );

0 comments on commit 0488cf9

Please sign in to comment.