Improve Manuscript dialog progress bar position

This commit is contained in:
Veronica Berglyd Olsen
2024-05-28 21:43:09 +02:00
parent d8693c7afa
commit 9b09b13bf9
+1 -2
View File
@@ -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()