mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-15 18:44:30 +02:00
* Make sidebar icons smaller.
This commit is contained in:
@@ -138,7 +138,7 @@ SourceDelegate::paintStandardItem( QPainter* painter, const QStyleOptionViewItem
|
|||||||
painter->setOpacity( 1.0 );
|
painter->setOpacity( 1.0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
QRect iconRect = opt.rect.adjusted( 14, 1, 0, -1 );
|
QRect iconRect = opt.rect.adjusted( 14, 4, 0, -4 );
|
||||||
iconRect.setWidth( iconRect.height() );
|
iconRect.setWidth( iconRect.height() );
|
||||||
painter->drawPixmap( iconRect, opt.icon.pixmap( iconRect.size(), iconMode ) );
|
painter->drawPixmap( iconRect, opt.icon.pixmap( iconRect.size(), iconMode ) );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user