diff options
author | Ken Moore <ken@pcbsd.org> | 2015-06-09 07:40:16 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-06-09 07:40:16 -0400 |
commit | 3536568956562e0735129095b8e84f651f3cd7ff (patch) | |
tree | 3d8beaa0f07d961e405b7e00c709d69804b1d917 | |
parent | Add a new function to "restart" the window manager, and run this if something... (diff) | |
download | lumina-3536568956562e0735129095b8e84f651f3cd7ff.tar.gz lumina-3536568956562e0735129095b8e84f651f3cd7ff.tar.bz2 lumina-3536568956562e0735129095b8e84f651f3cd7ff.zip |
Clean up the border/spacing for the system tray container - remove the frame entirely and make the spacing between tray icons 0 pixels. (prevents the occasional 1px lines since the frame does not refresh as often)
-rw-r--r-- | lumina-desktop/panel-plugins/systemtray/LSysTray.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp b/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp index cb4752d6..1b458f0c 100644 --- a/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp +++ b/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp @@ -1,6 +1,6 @@ //=========================================== // Lumina-DE source code -// Copyright (c) 2012, Ken Moore +// Copyright (c) 2012-2015, Ken Moore // Available under the 3-clause BSD license // See the LICENSE file for full details //=========================================== @@ -22,11 +22,11 @@ LSysTray::LSysTray(QWidget *parent, QString id, bool horizontal) : LPPlugin(parent, id, horizontal){ frame = new QFrame(this); frame->setContentsMargins(0,0,0,0); - frame->setStyleSheet("QFrame{ background: transparent; border: 1px solid transparent; border-radius: 3px; }"); + //frame->setStyleSheet("QFrame{ background: transparent; border: 1px solid transparent; border-radius: 3px; }"); LI = new QBoxLayout( this->layout()->direction()); frame->setLayout(LI); LI->setAlignment(Qt::AlignCenter); - LI->setSpacing(1); + LI->setSpacing(0); LI->setContentsMargins(0,0,0,0); this->layout()->addWidget(frame); this->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred); |