mirror of
https://github.com/YACReader/yacreader
synced 2026-02-17 04:23:01 -05:00
Use a custom background for checked actions in tool bars
This commit is contained in:
@ -267,7 +267,10 @@ void LibraryWindow::doLayout()
|
||||
// TOOLBARS-------------------------------------------------------------------
|
||||
//---------------------------------------------------------------------------
|
||||
editInfoToolBar = new QToolBar();
|
||||
editInfoToolBar->setStyleSheet("QToolBar {border: none;}");
|
||||
editInfoToolBar->setStyleSheet(R"(
|
||||
QToolBar { border: none; }
|
||||
QToolButton:checked { background-color: #cccccc; }
|
||||
)");
|
||||
|
||||
#ifdef Y_MAC_UI
|
||||
libraryToolBar = new YACReaderMacOSXToolbar(this);
|
||||
|
||||
Reference in New Issue
Block a user