mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 09:04:33 +02:00
More spacing above first group in sidebar.
This commit is contained in:
@@ -87,7 +87,7 @@ SourceDelegate::sizeHint( const QStyleOptionViewItem& option, const QModelIndex&
|
||||
}
|
||||
else if ( type == SourcesModel::Group )
|
||||
{
|
||||
const int groupSpacer = index.row() > 0 ? option.fontMetrics.height() * 2.5 : option.fontMetrics.height() * 0.8;
|
||||
const int groupSpacer = index.row() > 0 ? option.fontMetrics.height() * 2.5 : option.fontMetrics.height() * 1.8;
|
||||
return QSize( option.rect.width(), option.fontMetrics.height() + groupSpacer );
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user