From 1d4fc91d79eedb257b2ab4521c5530a64f29f06f Mon Sep 17 00:00:00 2001 From: Camila San Date: Tue, 14 Aug 2018 16:32:48 +0200 Subject: [PATCH] Fixes #518: adds more margin for the text in the activity (only for Windows). Signed-off-by: Camila San --- src/gui/activityitemdelegate.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/activityitemdelegate.cpp b/src/gui/activityitemdelegate.cpp index 47f2198ee..38416a2d0 100644 --- a/src/gui/activityitemdelegate.cpp +++ b/src/gui/activityitemdelegate.cpp @@ -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; }