Skip to main content

Is it possible to use fill-container and assign one element to one-third of space and the other two-thirds of space?

I need the component to be resizable.


image

You can use a regular frame with a 3-column layout grid to accomplish this one I think. Line up the child frames/objects with the column layout lines and set their constraints to Left + Right and they will follow the grid as it resizes. Set the frame with the grid on it to fill its parent auto layout container. Is this what youโ€™re after? Sloppy GIF included. (edited to add layers panel screenshot)


thirds-example


CleanShot 2021-07-18 at 10.31.17@2x


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.