Merge branch 'doctitle_margins'

This commit is contained in:
Veronica K. B. Olsen
2020-05-26 18:54:00 +02:00
+1 -1
View File
@@ -337,7 +337,7 @@ class GuiDocEditor(QTextEdit):
tB = self.lineWidth()
tW = self.width() - 2*tB
tH = self.docTitle.height()
tT = tM - tH
tT = self.mainConf.textMargin - tH
self.docTitle.setGeometry(tB, tB, tW, tH)
self.setViewportMargins(0, tH, 0, 0)