整个文字是:ytb3号\ud83d\ude34\ud83d\ude37\ud83d\ude04%&@!\ud83d\ude34&*¥\#ytb3号ytb3号ytb3号ytb3号ytb3号ytb3号ytb3号ytb3号tb3号。当有多上文本,且文本中有表情包时,文本末尾截断位置也不符合预期,应该在末尾对齐。
设置断行规则wordBreak(WordBreak.BREAK\_ALL)。参考文档:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/ts-basic-components-text-V5\#wordbreak11
设置断行规则wordBreak(WordBreak.BREAK\_ALL)。参考文档:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/ts-basic-components-text-V5\#wordbreak11