Fix margins for viewer, and handle split positions properly
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user