Auto-layout - Issue with positions

What you need is basically an absolute-positioned element inside of an auto layout. Currently this isn’t possible without workarounds so I would encourage you to vote for this related product idea.

Counterintuitively, you need to wrap the whole card in a horizontal auto layout. Inside you need to put a regular frame that is stretched to the parent by height, and in this frame you put your absolutely positioned content. Note that this content will not affect the width of the whole card anymore. And as the second block inside of that horizontal auto layout, you put the main content, also in the auto layout. Now just play with some paddings and you are done. I just added this specific design to my Auto Layout Tips & Hacks file, feel free to duplicate and poke around:

1 Like