Fixed tests, some resize issues, and cleaned out some unneeded code.

This commit is contained in:
Veronica K. B. Olsen
2019-05-18 18:13:25 +02:00
parent 2bbadcb3bd
commit bf1b4d5d3b
8 changed files with 14 additions and 15 deletions
+1
View File
@@ -176,6 +176,7 @@ class GuiDocEditor(QTextEdit):
mTB = self.mainConf.textMargin[0]
if tM >= 10:
self.setViewportMargins(tM,mTB,0,mTB)
self.setLineWrapColumnOrWidth(self.mainConf.textWidth)
else:
self.setViewportMargins(10,mTB,0,mTB)
self.setLineWrapColumnOrWidth(tW - sW - 20)