Skip to content

Commit ae55c00

Browse files
author
telwertowski
committedAug 25, 2008

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

‎src/app/qgsattributetable.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,13 @@ QgsAttributeTable::QgsAttributeTable( QWidget * parent ) :
7878
mPreviousSortIndicatorColumn( -1 )
7979
{
8080
QFont f( font() );
81-
f.setPointSize( f.pointSize() - 2 );
81+
#ifdef Q_WS_MAC
82+
// The default application font for OS X is Lucida Grande 13 point; for small, use 11 point
83+
f.setPointSize( 11 );
84+
#else
85+
f.setFamily( "Helvetica" );
86+
f.setPointSize( 9 );
87+
#endif
8288
setFont( f );
8389
mDelegate = new QgsAttributeTableItemDelegate( this );
8490
setItemDelegate( mDelegate );

0 commit comments

Comments
 (0)
Please sign in to comment.