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

maxHeight not supported #35

Open
yjouyang opened this issue Jun 16, 2020 · 0 comments
Open

maxHeight not supported #35

yjouyang opened this issue Jun 16, 2020 · 0 comments

Comments

@yjouyang
Copy link

Hi, I've tried to set a maxHeight for each item like this:

KFImage(imgUrl)
            .resizable()
            .aspectRatio(contentMode: .fit).frame(minHeight: 0, maxHeight: 400).border(Color.red)

But finally each item becomes the same height 400. How could I get maxHeight worked?

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

1 participant