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) {
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=""] {