]> git.sur5r.net Git - minitube/commitdiff
Style tweaks
authorFlavio Tordini <flavio.tordini@gmail.com>
Tue, 25 Aug 2015 12:48:44 +0000 (14:48 +0200)
committerFlavio Tordini <flavio.tordini@gmail.com>
Tue, 25 Aug 2015 12:48:44 +0000 (14:48 +0200)
src/regionsview.cpp
style.css

index acac6fb428d37603e0c9d238e22f7f4c2461ebea..53a47635ca514ac08504c0a19d83e346399df3df 100644 (file)
@@ -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 &region) {
index 390b0f6659c13b20159d51db4c4751d4c48c0876..606b53977154b5d1007b059a4d861d94c1cd2acc 100644 (file)
--- 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=""] {