Enable word wrap in emoji text

develop
knotteye 2021-04-16 21:33:42 -05:00
parent 1ccd67e956
commit f2b7c2ffec
1 changed files with 1 additions and 0 deletions

View File

@ -1249,6 +1249,7 @@ class EmojiText(QWidget):
if header: if header:
label.setFont(ex.HeaderFont) label.setFont(ex.HeaderFont)
label.setTextFormat(Qt.RichText) label.setTextFormat(Qt.RichText)
label.setWordWrap(True)
label.setTextInteractionFlags((Qt.TextBrowserInteraction)) label.setTextInteractionFlags((Qt.TextBrowserInteraction))
label.setOpenExternalLinks(True) label.setOpenExternalLinks(True)
layout.addWidget(label) layout.addWidget(label)