Skip to main content
Nov 23, 2023 1:45 AM UTC
Question

Contents don't resize with the frame


I have this component made with auto layout, and I thought I’ve done it correctly. On its own if I expand the width, the input field fills the space, but when I have it placed in a frame and want to see what it will look like when the user uses a larger screen size or device, it doesn’t stretch out.

This topic has been closed for replies.

2 replies

fernandolins_cs
Nov 23, 2023 2:21 AM UTC

Have you added it to auto-layout with Fill horizontal sizing rule, or used Constraints to set how it scales?

Nov 23, 2023 3:39 PM UTC


I think I’ve figured it out. It was the constraints…Newbie here, was overtired and didnt think to check the drop down menu for constraints - that you can set it for left AND right. Hopefully this solves my problem with auto layout… Thanks Fernando