Merge branch 'main' into feature/build_preview

This commit is contained in:
Veronica Berglyd Olsen
2024-05-28 23:20:51 +02:00
committed by GitHub
30 changed files with 202 additions and 169 deletions
+2 -3
View File
@@ -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()