Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TTextView的htmltext对英文内容的断行,不支持按word #25

Open
jonahzheng opened this issue Aug 1, 2020 · 0 comments
Open
Labels

Comments

@jonahzheng
Copy link
Contributor

jonahzheng commented Aug 1, 2020

TTextView的htmltext对英文内容的断行,不支持按word
首先设置tv的wordwrap属性为true。
1、htmltext属性对英文内容断行有问题,默认都是按字母断行,即使设置了 trimming属性为word。
2、显示出来的效果上,右边出现很大的空白。
3、以上问题,带来了通过文本内容及设置来动态计算tv高度时,完全不准。

20200801112440

demo11.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants