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

td_input label宽度问题 #454

Open
Josin22 opened this issue Jan 14, 2025 · 3 comments
Open

td_input label宽度问题 #454

Josin22 opened this issue Jan 14, 2025 · 3 comments

Comments

@Josin22
Copy link

Josin22 commented Jan 14, 2025

tdesign-flutter 版本

0.18

重现链接

No response

重现步骤

输入框设置label时, 如果涉及到国际化, 在中文情况下,宽度适当, 但切到其他国家语言时,比如英文,泰文,阿拉伯文时,宽度过多

期望结果

可以计算准确的文字字符总宽度,而不是在代码层 固定一个字符16的宽度

实际结果

中文label时, 宽度正常
英文或者其他语言的label时, 宽度过大

Flutter版本

flitter 3.22.2

设备与机型信息

iPhone 16pro

系统版本

iOS 18.2

补充说明

No response

Copy link
Contributor

👋 @Josin22,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@Josin22
Copy link
Author

Josin22 commented Jan 14, 2025

image

@Jzow
Copy link
Contributor

Jzow commented Feb 8, 2025

感谢反馈,经过验证,确实有这个问题。

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

2 participants