From 0ada4d7dff8ee7fde9308a07769c8fb35b67acd3 Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Mon, 21 Jan 2013 07:16:21 +0000 Subject: [PATCH] UI Nits: Allplot reveal controls .. fixups for positioning and translucent background looks a bit naff. --- src/AllPlotWindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/AllPlotWindow.cpp b/src/AllPlotWindow.cpp index afee49d62..5a7bb86be 100644 --- a/src/AllPlotWindow.cpp +++ b/src/AllPlotWindow.cpp @@ -79,7 +79,7 @@ AllPlotWindow::AllPlotWindow(MainWindow *mainWindow) : // reveal widget revealControls = new QWidget(this); revealControls->setFixedHeight(50); - revealControls->setStyleSheet("background-color: rgba(100%, 100%, 100%, 70%)"); + //revealControls->setStyleSheet("background-color: rgba(100%, 100%, 100%, 70%)"); revealControls->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Minimum); // reveal controls @@ -96,14 +96,14 @@ AllPlotWindow::AllPlotWindow(MainWindow *mainWindow) : // layout reveal controls QHBoxLayout *r = new QHBoxLayout; - r->setContentsMargins(0,0,0,0); + r->setContentsMargins(0,15,0,0); r->addStretch(); r->addWidget(rSmooth); r->addWidget(rSmoothEdit); r->addWidget(rSmoothSlider); - r->addSpacing(5); + r->addSpacing(0); QVBoxLayout *v = new QVBoxLayout; - v->setSpacing(5); + v->setSpacing(3); v->addWidget(rStack); v->addWidget(rFull); r->addLayout(v);