init-max-area with an aspect-ratio lower than 1 not working
See original GitHub issueIf the init-max-area
binding is set to true and the provided aspect-ratio
in lower than 1 (portrait area required), the init-max-area
is not applied and the crop area is positionned in the center not reaching neither the height nor width.
I tried different things but nothing is working.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Resize image proportionally with MaxHeight and MaxWidth ...
I just thinking about a case, i don't sure if it possible or not that after multiply with ratio the width Or height...
Read more >List of Compose modifiers - Jetpack - Android Developers
Draw content with modified alpha that may be less than 1. ... is persisted across draw calls as long as the size of...
Read more >How to have a VisualElement locked to aspect ratio?
Has anyone figured out how to have a VisualElement fit the bounds of its parent, but maintain a particular aspect ratio? The aspect-ratio...
Read more >NetLogo 6.3.0 User Manual: NetLogo Dictionary
If the caller is the observer, then the points are measured relative to the origin, in other words, the points are taken as...
Read more >Working with the ImageView | CodePath Android Cliffnotes
Scales the image to fit inside the view, while maintaining the image aspect ratio. If the image is already smaller than the view,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Well, I don’t have much time for public repos currently. Any PR is accepted if it not brake any of mine codepen.
Awesome ! Thank you ! I will check when you make the PR !
Btw, do you need help for maintaining the project ?