Merge pull request #558 from nextcloud/issues/518

Fixes #518: adds more margin for the text in the activity
This commit is contained in:
Camila Ayres 2018-08-14 16:59:54 +02:00 committed by GitHub
commit 29c11618b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,6 +60,10 @@ int ActivityItemDelegate::rowHeight()
QFontMetrics fm(f); QFontMetrics fm(f);
_margin = fm.height() / 2; _margin = fm.height() / 2;
#if defined(Q_OS_WIN)
_margin += 5;
#endif
} }
return iconHeight() + 5 * _margin; return iconHeight() + 5 * _margin;
} }