Fix margins for viewer, and handle split positions properly

This commit is contained in:
Veronica K. B. Olsen
2019-05-18 17:50:56 +02:00
parent ac1f9569e6
commit 76a4e6499b
5 changed files with 38 additions and 10 deletions
+3
View File
@@ -28,6 +28,9 @@ class GuiDocViewer(QTextBrowser):
self.mainConf = nw.CONFIG
self.theParent = theParent
self.theDoc = self.document()
self.theDoc.setDocumentMargin(self.mainConf.textMargin[0])
self.setMinimumWidth(300)
logger.debug("DocViewer initialisation complete")