mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
* Style fix.
This commit is contained in:
@@ -72,7 +72,9 @@ PlaylistItemDelegate::sizeHint( const QStyleOptionViewItem& option, const QModel
|
|||||||
{
|
{
|
||||||
int rowHeight = option.fontMetrics.height() + 8;
|
int rowHeight = option.fontMetrics.height() + 8;
|
||||||
size.setHeight( rowHeight * 2 );
|
size.setHeight( rowHeight * 2 );
|
||||||
} else if ( style == PlayableProxyModel::Detailed ) {
|
}
|
||||||
|
else if ( style == PlayableProxyModel::Detailed )
|
||||||
|
{
|
||||||
int rowHeight = option.fontMetrics.height() * 1.4;
|
int rowHeight = option.fontMetrics.height() * 1.4;
|
||||||
size.setHeight( rowHeight );
|
size.setHeight( rowHeight );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user