fixed appearance in mac os x

This commit is contained in:
Luis Ángel San Martín
2013-06-15 22:28:27 +02:00
parent 9a22816679
commit 338eac7d55
3 changed files with 16 additions and 5 deletions

View File

@ -193,7 +193,11 @@ void LibraryWindow::doLayout()
selectedLibrary->setContextMenuPolicy(Qt::ActionsContextMenu);
selectedLibrary->setAttribute(Qt::WA_MacShowFocusRect,false);
selectedLibrary->setFocusPolicy(Qt::NoFocus);
#ifdef Q_OS_MAC
l->setContentsMargins(0,0,0,0);
#else
l->setContentsMargins(sHorizontal->handleWidth(),0,0,0);
#endif
YACReaderTitledToolBar * librariesTitle = new YACReaderTitledToolBar(tr("LIBRARIES"));