Vision - window alignment

Good afternoon.

I’m trying to resize a window dynamically when pressing a button.

The resizing part is ok, but when I resize it, the container pushes its content to the right side.

How can I remove the green blank space between the window left edge and the content?

My button code is (mouse pressed event):

Thanks.

Check your container’s layout configuration. Relative Leading will make it stick to the the left side, but you will need to select which ever configuration works for you.
image