Tree of DesignAll terms A–Z

Constraints and Pinning

Rules defining how layers behave when a frame resizes.

See it on the 3D tree

Going deeper

Each layer is given a horizontal and vertical rule relative to its parent: stay a set distance from an edge, remain centred, stretch between two edges or scale proportionally. Pinning to opposite edges makes a layer stretch. Auto layout differs by arranging items in relation to one another.

Why it matters

You can resize a frame to test other screen sizes without repositioning every layer by hand.

In practice

You pin a close button to the top right and stretch a header image between both sides, then widen the frame to check.

Connected terms