Skip to main content

Hello, I’ve got 2 text blocks of differing widths that I’ve added left and right constraints to and attached them to the grid so they scale nicely when the frame is resized.


Where I am trying to get to is that behaviour (example here: https://youtu.be/LSLP5VAUnUI ) but inside a container. The container would vertically resize to fit the text in when horizontally resized.


If the text blocks were all the same width this would be a 2-second job with auto layout. I’m going around in circles trying to work out how to do it. Any help would be hugely appreciated. Cheers.

Yes, I didn’t see an easy way with auto-layout — I was looking at using min-max widths, but didn’t work well. So one option (which isn’t automatic) is to click “resize to fit” after adjusting the width of that section.