Simple pinning allows you to pin a layer to its parent with the following:
- Center Horizontally
- Center Vertically
When selecting a pin, Auto-Layout will set the pin constant value as the current pixel value.
For example if a layer is 20px from the right and you select
Pin to Right, the
right pin constant value will be set to 20px.
Once a pin is set, Auto-Layout will enforce the pin value when the artboard is resized.
For example if you pinned a layer to the right by 20px, you can resize the artboard by dragging its right side and you’ll notice the layer always stays 20px from the right.
Layeris always pinned to its
- A parent can be either an
- Pinning between siblings can be achieved using
Layer in an
Layer in a
- To reveal the advanced pinning panel click
- You can pin a layer either by
Pixelsvalues are in the left text boxes,
Percentvalues are in the right text boxes.
- Use the
Togglebutton to select which type of pinning.