aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/desktop-plugins
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2014-11-10 11:42:42 -0500
committerKen Moore <ken@pcbsd.org>2014-11-10 11:42:42 -0500
commit6ea033338f8bcfdbad869566e9691faf9f12760a (patch)
tree1e1a601f5159bf957aa00d441020ceecc341947b /lumina-desktop/desktop-plugins
parentClean up the default theme template a little bit. (diff)
downloadlumina-6ea033338f8bcfdbad869566e9691faf9f12760a.tar.gz
lumina-6ea033338f8bcfdbad869566e9691faf9f12760a.tar.bz2
lumina-6ea033338f8bcfdbad869566e9691faf9f12760a.zip
Clean up the appearance of the new desktop plugins a bit.
Diffstat (limited to 'lumina-desktop/desktop-plugins')
-rw-r--r--lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.cpp2
-rw-r--r--lumina-desktop/desktop-plugins/notepad/NotepadPlugin.cpp7
2 files changed, 7 insertions, 2 deletions
diff --git a/lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.cpp b/lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.cpp
index 54727a36..5575dbd9 100644
--- a/lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.cpp
+++ b/lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.cpp
@@ -18,7 +18,7 @@ DesktopViewPlugin::DesktopViewPlugin(QWidget* parent, QString ID) : LDPlugin(par
list->setSpacing(2);
list->setSelectionBehavior(QAbstractItemView::SelectItems);
list->setSelectionMode(QAbstractItemView::NoSelection);
- list->setStyleSheet( "QListWidget{ background: rgba(255,255,255,100); border: none; border-radius: 3px;}" );
+ list->setStyleSheet( "QListWidget{ background: rgba(255,255,255,50); border: none; border-radius: 3px; color: black;}" );
list->setIconSize(QSize(64,64));
this->layout()->addWidget(list);
this->setInitialSize(200,300);
diff --git a/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.cpp b/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.cpp
index 01e7179e..a88b4e8f 100644
--- a/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.cpp
+++ b/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.cpp
@@ -10,16 +10,21 @@ NotePadPlugin::NotePadPlugin(QWidget* parent, QString ID) : LDPlugin(parent, ID)
this->layout()->setContentsMargins(0,0,0,0);
vlay->setContentsMargins(3,3,3,3);
frame = new QFrame(this);
- frame->setStyleSheet("QFrame{border-size: 1px; background: rgba(255,255,255,100); color: black;}");
+ frame->setObjectName("notepadbase");
+ frame->setStyleSheet("QFrame#notepadbase{border-size: 1px; background: rgba(255,255,255,100); color: black;}");
this->layout()->addWidget(frame);
frame->setLayout(vlay);
//Setup the title bar header buttons
QHBoxLayout *hlay = new QHBoxLayout();
next = new QToolButton(this);
+ next->setAutoRaise(true);
prev = new QToolButton(this);
+ prev->setAutoRaise(true);
add = new QToolButton(this);
+ add->setAutoRaise(true);
rem = new QToolButton(this);
+ rem->setAutoRaise(true);
label = new QLabel(this);
label->setAlignment(Qt::AlignCenter);
hlay->addWidget(prev);
bgstack15