Frames should support a max width defined as a percentage of their parent frame.
I run into the same scenario repeatedly: I have several frames in a composition set to hug their contents, so the parent frame wraps them once they grow past its width. The problem is:
- When a frame is set to hug, max width only accepts px values, which isn't responsive.
- If I switch it to fill, the parent container never wraps it, because the frame no longer has an intrinsic width.
So the min and max width/height on auto layout children only accept pixel values, this makes them break down in responsive compositions, since a px cap doesn't adapt when the parent resizes.
The suggestion here is allowing percentages making these constraints behave the way they do in CSS, so you can use values like max-width: 100% or min-width: 50%
Today the only workarounds are hardcoded px values or restructuring layers, both of which fall apart as soon as the composition needs to respond to different widths.
