mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
Fixes #518: adds more margin for the text in the activity (only for Windows).
Signed-off-by: Camila San <hello@camila.codes>
This commit is contained in:
parent
ef9c302b5e
commit
1d4fc91d79
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