Changeset 314070260310…
Parent 6b1aa72b07ee…
by
Changes to one file · Browse files at 314070260310 Showing diff from parent 6b1aa72b07ee Diff from another changeset...
@@ -115,6 +115,7 @@ doc = QTextDocument()
doc.setDefaultStyleSheet(qtlib.thgstylesheet)
doc.setDefaultFont(option.font)
+ doc.setDocumentMargin(0)
doc.setHtml(text)
doc.setTextWidth(option.rect.width())
return QSize(doc.idealWidth() + 5, doc.size().height())
|
Loading...