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

相册图片能单独设置xy和宽高吗? #141

Open
hjane opened this issue Oct 31, 2021 · 2 comments
Open

相册图片能单独设置xy和宽高吗? #141

hjane opened this issue Oct 31, 2021 · 2 comments

Comments

@hjane
Copy link

hjane commented Oct 31, 2021

相册中图片被强制拉伸了,如果不能保证相册内图片比例和相册宽高一致,能单独设置来解决吗?让每张图片适配相册宽高,不要变形。

@drawcall
Copy link
Member

drawcall commented Nov 1, 2021

So you don’t need to set the width and height

@hjane
Copy link
Author

hjane commented Nov 1, 2021

So you don’t need to set the width and height

不太明白,我有一个400x400的相册,里边的图片比例可能有 300x400的或500x400 的,它们都被拉伸变形了,我想知道相册内的图片能不能按比例缩放,不要变形,有没有可以控制内部图片如何展示的属性?

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