Describe the problem your experiencing and how your idea helps solve this
I cannot lock the aspect ratio of a layer (e.g. an image) to scale uniformly when one dimension is stretched. I want to place an image (or other layer) within a frame and have the image “scale to fit” as I change the size of the enclosing frame.
Add as much context as possible (screenshots, Figma files, mockups, etc.)
This would be very useful in the context of auto layout. Or here is an example of a responsive card with an image that should fit its padded frame as the card resizes:
Ask questions to bring the community into the conversation
Is there a workaround I’m missing? Would this simply be another constraint setting?