From: Flavio Tordini Date: Tue, 25 Aug 2015 12:48:44 +0000 (+0200) Subject: Style tweaks X-Git-Tag: 2.5~32 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=620c710d44aa6cb1bd949b12f1a3da262bbf2d3d;p=minitube Style tweaks --- diff --git a/src/regionsview.cpp b/src/regionsview.cpp index acac6fb..53a4763 100644 --- a/src/regionsview.cpp +++ b/src/regionsview.cpp @@ -39,11 +39,13 @@ RegionsView::RegionsView(QWidget *parent) : View(parent) { doneButton = new QPushButton(tr("Done")); doneButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); doneButton->setDefault(true); +#ifndef APP_MAC doneButton->setProperty("custom", true); doneButton->setProperty("important", true); doneButton->setProperty("big", true); +#endif connect(doneButton, SIGNAL(clicked()), MainWindow::instance(), SLOT(goBack())); - l->addWidget(doneButton, 0, Qt::AlignCenter); + l->addWidget(doneButton, 0, Qt::AlignHCenter | Qt::AlignTop); } void RegionsView::addRegion(const YTRegion ®ion) { diff --git a/style.css b/style.css index 390b0f6..606b539 100644 --- a/style.css +++ b/style.css @@ -21,12 +21,12 @@ QStatusBar QToolButton::menu-indicator { RegionsView QPushButton[regionId] { margin: 5px; - padding: 10px; + padding: 7px 10px; text-align: left; vertical-align: middle; background-color: transparent; border: 1px solid transparent; - border-radius: 10px; + border-radius: 5px; } RegionsView QPushButton[regionId=""] {