E-book viewer: Make the semi-transparent background for viewing metadata a little more opaque. Fixes #1745812 [Metadata difficult to read in Ebook Viewer](https://bugs.launchpad.net/calibre/+bug/1745812)

This commit is contained in:
Kovid Goyal 2018-01-28 14:28:12 +05:30
parent c6705ef189
commit 64cae0cef7
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -109,7 +109,7 @@ class Metadata(QWebView): # {{{
def paintEvent(self, ev): def paintEvent(self, ev):
p = QPainter(self) p = QPainter(self)
p.fillRect(ev.region().boundingRect(), QBrush(QColor(200, 200, 200, 220), Qt.SolidPattern)) p.fillRect(ev.region().boundingRect(), QBrush(QColor(200, 200, 200, 247), Qt.SolidPattern))
p.end() p.end()
QWebView.paintEvent(self, ev) QWebView.paintEvent(self, ev)
# }}} # }}}