From b182c1e7200ec4c7c2dd5d816a79ac47d238019a Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Mon, 20 May 2024 03:32:38 +0300 Subject: [PATCH] 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 --- plasma/applets/launcher/launcher.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plasma/applets/launcher/launcher.cpp b/plasma/applets/launcher/launcher.cpp index bde32a59..f749b963 100644 --- a/plasma/applets/launcher/launcher.cpp +++ b/plasma/applets/launcher/launcher.cpp @@ -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()),