From 9b09b13bf955e2bcfa297095a9291457a53f0439 Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Tue, 28 May 2024 21:43:09 +0200 Subject: [PATCH] Improve Manuscript dialog progress bar position --- novelwriter/tools/manuscript.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()