1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 03:10:12 +02:00

* Fixed GridItemDelegate's fonts.

This commit is contained in:
Christian Muehlhaeuser
2012-09-02 15:05:05 +02:00
parent 2fc63675cd
commit 7dd63232a6

View File

@@ -173,10 +173,10 @@ GridItemDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option,
QString text;
QFont font = opt.font;
font.setPixelSize( 10 );
font.setPointSize( TomahawkUtils::defaultFontSize() );
QFont boldFont = font;
boldFont.setBold( true );
boldFont.setPixelSize( 14 );
boldFont.setPointSize( TomahawkUtils::defaultFontSize() + 1 );
QRect textRect = option.rect.adjusted( 6, option.rect.height() - 36, -4, -6 );
painter->setFont( font );