mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-04-24 23:47:20 +00:00
yet another fix margin
This commit is contained in:
parent
0f4bbbfba1
commit
e7714042bb
@ -305,7 +305,7 @@ void DesktopPanel::paintTooltip(const int active)
|
|||||||
// prepare
|
// prepare
|
||||||
activeTooltip = active;
|
activeTooltip = active;
|
||||||
DesktopWindowsInfo info = getInfoByDesktop(active + 1);
|
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);
|
toolTipView->resize(info.desktop.width() + 2.0 * margin, info.desktop.height() + 2.0 * margin);
|
||||||
toolTipScene->clear();
|
toolTipScene->clear();
|
||||||
toolTipScene->setBackgroundBrush(QBrush(Qt::NoBrush));
|
toolTipScene->setBackgroundBrush(QBrush(Qt::NoBrush));
|
||||||
|
Loading…
Reference in New Issue
Block a user