mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
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:
parent
b4967056ee
commit
b182c1e720
1 changed files with 1 additions and 0 deletions
|
@ -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()),
|
||||
|
|
Loading…
Add table
Reference in a new issue