mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-13 05:45:49 +00:00
yet another fix margin
This commit is contained in:
@ -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));
|
||||||
|
Reference in New Issue
Block a user