Enable word wrap in emoji text
parent
1ccd67e956
commit
f2b7c2ffec
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue