mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 00:24:12 +02:00
* Lighter font in GridItemDelegate.
This commit is contained in:
@@ -183,7 +183,6 @@ GridItemDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option,
|
||||
QFont font = opt.font;
|
||||
font.setPointSize( TomahawkUtils::defaultFontSize() + 2 );
|
||||
QFont smallFont = font;
|
||||
smallFont.setBold( true );
|
||||
smallFont.setPointSize( TomahawkUtils::defaultFontSize() );
|
||||
|
||||
int bottomHeight = QFontMetrics( smallFont ).boundingRect( bottom ).height();
|
||||
@@ -238,7 +237,7 @@ GridItemDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option,
|
||||
}
|
||||
painter->restore();
|
||||
|
||||
painter->setOpacity( 0.5 );
|
||||
painter->setOpacity( 0.6 );
|
||||
painter->setFont( smallFont );
|
||||
|
||||
// If the user is hovering over an artist rect, underline the artist name
|
||||
|
Reference in New Issue
Block a user