diff --git a/novelwriter/core/toqdoc.py b/novelwriter/core/toqdoc.py index fc7d3b46c..493c48981 100644 --- a/novelwriter/core/toqdoc.py +++ b/novelwriter/core/toqdoc.py @@ -136,6 +136,9 @@ def initDocument(self, font: QFont, theme: TextDocumentTheme) -> None: self._blockFmt.setTopMargin(self._mText[0]) self._blockFmt.setBottomMargin(self._mText[1]) self._blockFmt.setAlignment(QtAlignJustify if self._doJustify else QtAlignAbsolute) + self._blockFmt.setLineHeight( + 100*self._lineHeight, QTextBlockFormat.LineHeightTypes.ProportionalHeight + ) # Character Formats # =================