Improve Manuscript dialog progress bar position
This commit is contained in:
@@ -891,9 +891,8 @@ class _PreviewWidget(QTextBrowser):
|
|||||||
document within the viewport.
|
document within the viewport.
|
||||||
"""
|
"""
|
||||||
vBar = self.verticalScrollBar()
|
vBar = self.verticalScrollBar()
|
||||||
sW = vBar.width() if vBar.isVisible() else 0
|
|
||||||
tB = self.frameWidth()
|
tB = self.frameWidth()
|
||||||
vW = self.width() - 2*tB - sW
|
vW = self.width() - 2*tB - vBar.width()
|
||||||
vH = self.height() - 2*tB
|
vH = self.height() - 2*tB
|
||||||
tH = self.ageLabel.height()
|
tH = self.ageLabel.height()
|
||||||
pS = self.buildProgress.width()
|
pS = self.buildProgress.width()
|
||||||
|
|||||||
Reference in New Issue
Block a user