plasma: set a small content margin for the icons in launcher applet

now that a frame is painted on hover and focus there has to be a small
margin to account for that

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2024-05-20 03:32:38 +03:00
parent b4967056ee
commit b182c1e720

View file

@ -258,6 +258,7 @@ LauncherWidget::LauncherWidget(QGraphicsWidget *parent)
m_iconwidget = new Plasma::IconWidget(this);
m_iconwidget->setAcceptHoverEvents(false);
m_iconwidget->setContentsMargins(2, 2, 2, 2);
m_layout->addItem(m_iconwidget);
connect(
m_iconwidget, SIGNAL(activated()),