-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
[Bug]: 密码输入框在按下查看密码按钮时反复闪烁无法看清 #1485
Comments
建议修改占位符 |
不知道胡桃在设置密码的时候是否允许中文等奇形怪状的UTF8,如果是的话可能需要严格1:2的中英字符吧…… 这里有一个怪异的解决方案,把遮挡字符和输入的字母都显示为全角的字符……这样就和中文等宽了,无需强求等宽字体( 不过有点过于粗暴了,并且还需要自己重写一遍密码的显示逻辑……刚刚自己试着实现了半天直接放弃,看看有没有现成的轮子能用? |
换个角度想,设置 dialog 的宽度为一个定值,让其免受输入框内字符多少的影响。 |
TextBox有MaxWidth,TextWrapping设置成NoWrap应该就可以了 |
包含解决该问题的程序版本 1.10.0 已发布。 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topic. |
检查清单
Windows 版本
19045.4123
Snap Hutao 版本
1.9.8.0
设备 ID
No response
问题分类
胡桃帐号
发生了什么?
如视频所示,闪烁频繁
2024-03-15_22-47-48.mp4
你期望发生的行为?
不要闪烁……
最后一步
The text was updated successfully, but these errors were encountered: