mirror of
https://github.com/YACReader/yacreader
synced 2025-07-23 15:35:03 -04:00
fixed reading list title bar style in MacOSX
This commit is contained in:
@ -33,7 +33,9 @@ YACReaderSideBar::YACReaderSideBar(QWidget *parent) :
|
|||||||
" }"
|
" }"
|
||||||
"QSplitter::handle:vertical { height: 39px;}");
|
"QSplitter::handle:vertical { height: 39px;}");
|
||||||
#else
|
#else
|
||||||
|
splitter->setStyleSheet(""
|
||||||
|
"QSplitter::handle:vertical { height: 26px; background-color: #00000000;}"
|
||||||
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
selectedLibrary->setContextMenuPolicy(Qt::ActionsContextMenu);
|
selectedLibrary->setContextMenuPolicy(Qt::ActionsContextMenu);
|
||||||
@ -126,6 +128,9 @@ YACReaderSideBar::YACReaderSideBar(QWidget *parent) :
|
|||||||
//readingListsLayout->addWidget(readingListsView);
|
//readingListsLayout->addWidget(readingListsView);
|
||||||
readingListsHeaderLayout->addStretch();
|
readingListsHeaderLayout->addStretch();
|
||||||
QSplitterHandle * handle = splitter->handle(1);
|
QSplitterHandle * handle = splitter->handle(1);
|
||||||
|
#ifdef Q_OS_MAC
|
||||||
|
handle->setAttribute( Qt::WA_TranslucentBackground, true );
|
||||||
|
#endif
|
||||||
//handle->setCursor(QCursor(Qt::ArrowCursor));
|
//handle->setCursor(QCursor(Qt::ArrowCursor));
|
||||||
handle->setLayout(readingListsHeaderLayout);
|
handle->setLayout(readingListsHeaderLayout);
|
||||||
//END READING LISTS------------------------------------------------
|
//END READING LISTS------------------------------------------------
|
||||||
@ -133,8 +138,6 @@ YACReaderSideBar::YACReaderSideBar(QWidget *parent) :
|
|||||||
l->addWidget(splitter);
|
l->addWidget(splitter);
|
||||||
l->setSpacing(0);
|
l->setSpacing(0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
setLayout(l);
|
setLayout(l);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user