mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
new background colors for the side bar and grid in OSX
This commit is contained in:
parent
97fb8fd85b
commit
ca6d60ed3f
@ -51,7 +51,7 @@ GridComicsView::GridComicsView(QWidget *parent) :
|
||||
QQmlContext *ctxt = view->rootContext();
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
ctxt->setContextProperty("backgroundColor", "#F5F5F5");
|
||||
ctxt->setContextProperty("backgroundColor", "#F6F6F6");
|
||||
ctxt->setContextProperty("cellColor", "#FFFFFF");
|
||||
ctxt->setContextProperty("selectedColor", "#FFFFFF");
|
||||
ctxt->setContextProperty("selectedBorderColor", "#007AFF");
|
||||
|
@ -156,7 +156,7 @@ void YACReaderSideBar::paintEvent(QPaintEvent * event)
|
||||
#ifdef Q_OS_MAC
|
||||
QPainter painter(this);
|
||||
|
||||
painter.fillRect(0,0,width(),height(),QColor("#FFFFFF"));
|
||||
painter.fillRect(0,0,width(),height(),QColor("#F1F1F1"));
|
||||
#else
|
||||
QPainter painter(this);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user