KEMBAR78
Set Image ClipRect at origin when using AspectFill by hartez · Pull Request #6692 · dotnet/maui · GitHub
Skip to content

Conversation

@hartez
Copy link
Contributor

@hartez hartez commented Apr 29, 2022

When using AspectFill, Android needs to enable clipping for the image. Unfortunately, the ClipRect wasn't being aligned with the origin of the image. These changes align it from 0,0 so it doesn't cut off parts of the image.

Fixes #6365

@hartez hartez enabled auto-merge (squash) April 29, 2022 23:42
@hartez hartez merged commit 5b05598 into main May 1, 2022
@hartez hartez deleted the fix-6365 branch May 1, 2022 01:57
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2023
@samhouts samhouts added the fixed-in-6.0.300-rc.3 Look for this fix in 6.0.300-rc.3! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

fixed-in-6.0.300-rc.3 Look for this fix in 6.0.300-rc.3!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RC1 - Image with AspectFill does not appear inside some Layouts

3 participants