I think you are looking for the alignment parameter. ContentScale determines how the painter should be sized within the bounds of the Image composable while alignment determines the position of it.
d
dimsuz
06/10/2021, 3:40 PM
it's set to Center. And I want to stretch the painter to the bounds of an image, but it looks like it doesn't
n
Nader Jawad
06/10/2021, 3:41 PM
Do you have a mock of how you want it to render in this case?
d
dimsuz
06/10/2021, 3:43 PM
oh, wait, looks like my png had shadow layer baked in and it was affecting the bounds. sorry, my bad!