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

[TDAvatar] 自定义头像大小 avatarSize 变形问题 #359

Closed
iscodeok opened this issue Oct 21, 2024 · 4 comments
Closed

[TDAvatar] 自定义头像大小 avatarSize 变形问题 #359

iscodeok opened this issue Oct 21, 2024 · 4 comments

Comments

@iscodeok
Copy link

tdesign-flutter 版本

0.1.5

重现链接

No response

重现步骤

[TDAvatar] 自定义头像大小 avatarSize 设置小于 40.0 时,头像会变形比例不对。

期望结果

No response

实际结果

No response

Flutter版本

Flutter 3.24.0

设备与机型信息

Android 12~13 模拟器

系统版本

Android

补充说明

No response

Copy link
Contributor

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

@shizhe2018
Copy link
Collaborator

麻烦提供一个变形截图,目前通过提供的设置属性值,测试没有发现变形

@iscodeok
Copy link
Author

@shizhe2018 找到问题了,是 Container 设置 width 或 padding会影响 TDAvatar 变形,可能不是BUG。

Copy link
Contributor

这个 Issue 被标记为了过时 stale ,因为它已经持续 30 天没有任何活动了。删除 stale 标签或评论,否则将在 7 天内关闭。

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