Set doc viewer header colour to match the editor
This commit is contained in:
@@ -29,6 +29,11 @@ class GuiDocViewer(QTextBrowser):
|
|||||||
self.theParent = theParent
|
self.theParent = theParent
|
||||||
|
|
||||||
self.theDoc = self.document()
|
self.theDoc = self.document()
|
||||||
|
self.theDoc.setDefaultStyleSheet("""
|
||||||
|
h1, h2, h3, h4 {
|
||||||
|
color: rgb(0,155,200);
|
||||||
|
}
|
||||||
|
""")
|
||||||
|
|
||||||
self.theDoc.setDocumentMargin(self.mainConf.textMargin[0])
|
self.theDoc.setDocumentMargin(self.mainConf.textMargin[0])
|
||||||
self.setMinimumWidth(300)
|
self.setMinimumWidth(300)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<novelWriterXML appVersion="0.1.3" fileVersion="1.0" timeStamp="2019-05-18 19:29:51">
|
<novelWriterXML appVersion="0.1.3" fileVersion="1.0" timeStamp="2019-05-18 19:40:13">
|
||||||
<project>
|
<project>
|
||||||
<name>Sample Project</name>
|
<name>Sample Project</name>
|
||||||
<title>Sample Project</title>
|
<title>Sample Project</title>
|
||||||
@@ -8,8 +8,8 @@
|
|||||||
</project>
|
</project>
|
||||||
<settings>
|
<settings>
|
||||||
<spellCheck>False</spellCheck>
|
<spellCheck>False</spellCheck>
|
||||||
<lastEdited>96b68994dfa3d</lastEdited>
|
<lastEdited>636b6aa9b697b</lastEdited>
|
||||||
<lastViewed>96b68994dfa3d</lastViewed>
|
<lastViewed>636b6aa9b697b</lastViewed>
|
||||||
</settings>
|
</settings>
|
||||||
<content count="15">
|
<content count="15">
|
||||||
<item handle="7031beac91f75" order="0" parent="None">
|
<item handle="7031beac91f75" order="0" parent="None">
|
||||||
|
|||||||
Reference in New Issue
Block a user