How to scale element, but maintain the Y top position

On a component, I want the children element to scale when I increase the size of my component.
But I also want to stuck the top Y coordinates (basically, I want the children element to scale only to the bottom)

Quick video here

Is there any way to get around that?
Maybe using auto layout ? (I’m a newbie with that, couldn’t figure the configuration to play with :slight_smile: )

Thank you in advance !

Rather than Scale for the vertical constraint of that gray box, try Top and bottom instead.

Thank you very much ! it worked indeed :slight_smile:

1 Like

If proportions are important, just know that scale does what it says and scales with its parent, maintaining its proportions. Top & Bottom does not work the same way, but rather maintains the offsets to the edges unchanged.

1 Like