Set doc viewer header colour to match the editor

This commit is contained in:
Veronica K. B. Olsen
2019-05-18 19:41:21 +02:00
parent ccca604037
commit 48da59321b
2 changed files with 8 additions and 3 deletions
+5
View File
@@ -29,6 +29,11 @@ class GuiDocViewer(QTextBrowser):
self.theParent = theParent
self.theDoc = self.document()
self.theDoc.setDefaultStyleSheet("""
h1, h2, h3, h4 {
color: rgb(0,155,200);
}
""")
self.theDoc.setDocumentMargin(self.mainConf.textMargin[0])
self.setMinimumWidth(300)