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

问下,我有这种文本样式需求应该怎么做呢? #25

Open
lysk opened this issue Apr 22, 2024 · 2 comments
Open

问下,我有这种文本样式需求应该怎么做呢? #25

lysk opened this issue Apr 22, 2024 · 2 comments

Comments

@lysk
Copy link

lysk commented Apr 22, 2024

1713804519119 如图,中间绿色文字的是动态的,长度不固定。1. 2种颜色的文字 2、一行的宽度是固定的,超过换行 3、居中对齐
@kiccer
Copy link
Owner

kiccer commented Apr 24, 2024

暂时没有办法实现😂

@mkdirnow
Copy link

要计算了,拿中间彩色字长度计算左右偏移

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

No branches or pull requests

3 participants