Merge branch 'main' into feature/build_preview
This commit is contained in:
@@ -265,7 +265,7 @@ class GuiManuscript(NToolDialog):
|
||||
if isinstance(obj, GuiBuildSettings) and obj.isVisible():
|
||||
obj.close()
|
||||
event.accept()
|
||||
self.deleteLater()
|
||||
self.softDelete()
|
||||
return
|
||||
|
||||
##
|
||||
@@ -895,9 +895,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()
|
||||
|
||||
Reference in New Issue
Block a user