mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 23:03:26 +02: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
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ def setVisible(self, x):
|
|||
|
||||
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…
Reference in a new issue