mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
Merge pull request #558 from nextcloud/issues/518
Fixes #518: adds more margin for the text in the activity
This commit is contained in:
commit
29c11618b3
1 changed files with 4 additions and 0 deletions
|
@ -60,6 +60,10 @@ int ActivityItemDelegate::rowHeight()
|
|||
QFontMetrics fm(f);
|
||||
|
||||
_margin = fm.height() / 2;
|
||||
|
||||
#if defined(Q_OS_WIN)
|
||||
_margin += 5;
|
||||
#endif
|
||||
}
|
||||
return iconHeight() + 5 * _margin;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue