-
-
Notifications
You must be signed in to change notification settings - Fork 620
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
Compose Image is ignoring size
modifier
#638
Comments
Thank you very much for the report |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
About this issue
For the following composable
RIcon
When using
sizeIn(maxWidth, maxHeight)
, the modifier is ignored and icons spill outside of the composable bounds.requiredSizeIn
fixes the issue but breaks animations & other Material widgets that want to resize the icon composable.We need a proper solution for sizing icons without using requiredSize.
Why is this and how can this be fixed?
Using respectFontBounds = true is not possible because that breaks alignment of icons in the container.
Details
Checklist
The text was updated successfully, but these errors were encountered: