mirror of
https://github.com/wtc86939209/WeChatMsg110.git
synced 2026-06-13 08:26:33 +08:00
🐛 修复聊天记录显示不全 #88
This commit is contained in:
@@ -17,6 +17,8 @@ class TextMessage(QLabel):
|
||||
heightSingal = pyqtSignal(int)
|
||||
|
||||
def __init__(self, text, is_send=False, parent=None):
|
||||
if isinstance(text, bytes):
|
||||
text = text.decode('utf-8')
|
||||
super(TextMessage, self).__init__(text, parent)
|
||||
font = QFont('微软雅黑', 12)
|
||||
self.setFont(font)
|
||||
|
||||
Reference in New Issue
Block a user