I have an image inside this widget I'm designing. The image (outlined in blue) is increasing the height of the whole widget even though it is masked. What do?!
I see three ways to solve this :
- Group the elements (select the elements and cmd+G), the group size will match the mask size :
- Create a symbol, the result will be quite the same :
- Way less precise, but it does the job : double click on the image, select the wanted area and crop it :
I do not recommend this last one, because it's destructive. If you change your mind, you will have to re-import the image. Hope it helps.