Merge branch 'doctitle_margins'
This commit is contained in:
@@ -337,7 +337,7 @@ class GuiDocEditor(QTextEdit):
|
|||||||
tB = self.lineWidth()
|
tB = self.lineWidth()
|
||||||
tW = self.width() - 2*tB
|
tW = self.width() - 2*tB
|
||||||
tH = self.docTitle.height()
|
tH = self.docTitle.height()
|
||||||
tT = tM - tH
|
tT = self.mainConf.textMargin - tH
|
||||||
self.docTitle.setGeometry(tB, tB, tW, tH)
|
self.docTitle.setGeometry(tB, tB, tW, tH)
|
||||||
self.setViewportMargins(0, tH, 0, 0)
|
self.setViewportMargins(0, tH, 0, 0)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user