Make both panes use viewportmargin

This commit is contained in:
Veronica K. B. Olsen
2020-06-17 22:27:06 +02:00
parent 1d9493f1f5
commit 399b13dd3d
2 changed files with 5 additions and 13 deletions
-1
View File
@@ -351,7 +351,6 @@ class GuiDocEditor(QTextEdit):
else:
rH = 0
# print(tM, tH, rH, max(tM, tH, rH))
self.setViewportMargins(tM, max(cM, tH, rH), tM, cM)
return