Somewhat better Log/Browser TabBar on OSX

FossilOrigin-Name: aea2b8b8985d6b40aff4b53eeaa485702c674658
This commit is contained in:
kostas
2015-08-22 16:35:10 +00:00
parent cf66ce260e
commit 0200f4b7b4
3 changed files with 11 additions and 8 deletions

View File

@@ -268,11 +268,14 @@ MainWindow::MainWindow(Settings &_settings, QWidget *parent, QString *workspaceP
ui->workspaceTreeView->setAttribute(Qt::WA_MacShowFocusRect, false);
// Tighen-up the sizing of the main widgets to look slightly more consistent with the OSX style
ui->centralWidget->layout()->setContentsMargins(0, 0, 0, 3);
ui->centralWidget->layout()->setContentsMargins(0, 0, 0, 0);
ui->workspaceTreeView->setFrameShape(QFrame::NoFrame);
ui->fileTableView->setFrameShape(QFrame::NoFrame);
ui->splitterVertical->setHandleWidth(1);
ui->splitterHorizontal->setHandleWidth(1);
// Wrong color scheme on Yosemite but better than the standard TabWidget
ui->tabWidget->setDocumentMode(true);
#endif
abortShortcut = new QShortcut(QKeySequence("Escape"), this);