I have a frame. The width of my frame is set to fill its container. The height is fixed. The frame has an auto layout and horizontal and vertical padding. Inside of my frame, I have a vector image. I am trying to figure out how to get that image to scale proportionally with the frame sot hat it is not stretched or clipped but fills either the width or height of the frame up to the padding. But, the only options that I have for the width and height of the image are Fixed and Fill container. The former doesn’t scale the image with the frame. The latter stretches the image to fill.
I am new to Figma, so not sure if I am missing something obvious. How can I do this?