+2
-2
@@ -455,7 +455,7 @@ class GuiDocEditor(QTextEdit):
|
|||||||
docChanged = self.docChanged
|
docChanged = self.docChanged
|
||||||
if self.mainConf.scrollPastEnd:
|
if self.mainConf.scrollPastEnd:
|
||||||
docFrame = self.qDocument.rootFrame().frameFormat()
|
docFrame = self.qDocument.rootFrame().frameFormat()
|
||||||
docFrame.setBottomMargin(max(0, 0.6*(wH - uM - lM - 4*tB)))
|
docFrame.setBottomMargin(max(0, 0.9*(wH - uM - lM - 4*tB)))
|
||||||
self.qDocument.rootFrame().setFrameFormat(docFrame)
|
self.qDocument.rootFrame().setFrameFormat(docFrame)
|
||||||
|
|
||||||
# This is needed as the setFrameFormat function itself will
|
# This is needed as the setFrameFormat function itself will
|
||||||
@@ -847,7 +847,7 @@ class GuiDocEditor(QTextEdit):
|
|||||||
if okMod and okKey:
|
if okMod and okKey:
|
||||||
cNew = self.cursorRect().center().y()
|
cNew = self.cursorRect().center().y()
|
||||||
cMov = cNew - cOld
|
cMov = cNew - cOld
|
||||||
mPos = self.mainConf.autoScrollPos * self.viewport().height() * 0.01
|
mPos = self.mainConf.autoScrollPos*0.01 * self.viewport().height()
|
||||||
if abs(cMov) > 0 and cOld > mPos:
|
if abs(cMov) > 0 and cOld > mPos:
|
||||||
# Move the scroll bar
|
# Move the scroll bar
|
||||||
vBar = self.verticalScrollBar()
|
vBar = self.verticalScrollBar()
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ UsedUserAreasWarning=no
|
|||||||
;PrivilegesRequired=lowest
|
;PrivilegesRequired=lowest
|
||||||
PrivilegesRequiredOverridesAllowed=dialog
|
PrivilegesRequiredOverridesAllowed=dialog
|
||||||
OutputDir={#nwAppDir}
|
OutputDir={#nwAppDir}
|
||||||
OutputBaseFilename=novelwriter-{#nwAppVersion}-win10-amd64-setup
|
OutputBaseFilename=novelwriter-{#nwAppVersion}-win10-amd64-pyz-setup
|
||||||
Compression=lzma
|
Compression=lzma
|
||||||
SolidCompression=yes
|
SolidCompression=yes
|
||||||
WizardStyle=modern
|
WizardStyle=modern
|
||||||
|
|||||||
Reference in New Issue
Block a user