mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
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:
parent
c6705ef189
commit
64cae0cef7
@ -109,7 +109,7 @@ class Metadata(QWebView): # {{{
|
||||
|
||||
def paintEvent(self, ev):
|
||||
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()
|
||||
QWebView.paintEvent(self, ev)
|
||||
# }}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user