diff --git a/novelwriter/tools/manuscript.py b/novelwriter/tools/manuscript.py index 54960270..e0e959ee 100644 --- a/novelwriter/tools/manuscript.py +++ b/novelwriter/tools/manuscript.py @@ -891,9 +891,8 @@ class _PreviewWidget(QTextBrowser): document within the viewport. """ vBar = self.verticalScrollBar() - sW = vBar.width() if vBar.isVisible() else 0 tB = self.frameWidth() - vW = self.width() - 2*tB - sW + vW = self.width() - 2*tB - vBar.width() vH = self.height() - 2*tB tH = self.ageLabel.height() pS = self.buildProgress.width()