Leave scroll bar on build tool document, and don't scroll too far past end in doc editor
This commit is contained in:
+1
-1
@@ -440,7 +440,7 @@ class GuiDocEditor(QTextEdit):
|
||||
|
||||
if self.mainConf.scrollPastEnd:
|
||||
docFrame = self.qDocument.rootFrame().frameFormat()
|
||||
docFrame.setBottomMargin(wH - uM - lM - 4*tB - self.theTheme.fontPixelSize)
|
||||
docFrame.setBottomMargin(wH - uM - lM - 5*self.theTheme.fontPixelSize)
|
||||
self.qDocument.rootFrame().setFrameFormat(docFrame)
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user