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:
Camila San 2018-08-14 16:32:48 +02:00
parent ef9c302b5e
commit 1d4fc91d79
No known key found for this signature in database
GPG key ID: 7A4A6121E88E2AD4

View file

@ -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;
}