From e7714042bb281fdeb503ef1dedac1042c45b65e3 Mon Sep 17 00:00:00 2001 From: arcan1s Date: Thu, 13 Nov 2014 11:21:51 +0300 Subject: [PATCH] yet another fix margin --- sources/desktop-panel/desktop-panel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/desktop-panel/desktop-panel.cpp b/sources/desktop-panel/desktop-panel.cpp index 497563e..d05c04d 100644 --- a/sources/desktop-panel/desktop-panel.cpp +++ b/sources/desktop-panel/desktop-panel.cpp @@ -305,7 +305,7 @@ void DesktopPanel::paintTooltip(const int active) // prepare activeTooltip = active; DesktopWindowsInfo info = getInfoByDesktop(active + 1); - float margin = 3.0 * info.desktop.width() / 400.0; + float margin = 5.0 * info.desktop.width() / 400.0; toolTipView->resize(info.desktop.width() + 2.0 * margin, info.desktop.height() + 2.0 * margin); toolTipScene->clear(); toolTipScene->setBackgroundBrush(QBrush(Qt::NoBrush));