Skip to content

Position a layer

Position is a section of the Properties tab of the design editor. It places a layer inside its frame. There is no rotation: layers cannot be turned.

The section shows only for a layer you can move freely: a layer inside a frame without auto layout, or a layer you took out of an auto-layout flow. The top-level frame (the design itself) has no position. A layer that sits in an auto-layout frame shows only the Absolute position button, because the frame places it. To change where such a layer sits in the flow, see Auto layout, padding and size.

The Position section of the flags layer, with the Absolute position button pressed

Use this when a layer belongs in an auto-layout frame, but should float over the other layers instead of taking part in the flow. For example, the badge on the product photo.

  1. Select the layer inside the auto-layout frame, for example the badgeBox layer.
  2. In Position, press Absolute position. The button stays pressed.
  3. The layer keeps the place it has on the canvas, and the other layers close the gap. Drag it where you want it, or type its distances from the edges (see Set the distance from the edges). In the example, a top distance of 20 moves the badge up over the discount.
  4. Press the button again to put the layer back into the flow.

If the frame hugs its layers and clips its content, as flags does, it shrinks when the layer leaves the flow, and the layer can end up cut off. Set Clip content to No on the frame first (see Padding and clip content).

Things to know:

  • A layer that is absolute is not part of the flow. The gap and the alignment of the frame ignore it.
  • When you take a layer out of the flow, it stops filling the frame. Putting it back does not restore that. If you want it to fill again, set its size again.
  • Dropping a layer from a free-form frame inside the design into a frame with auto layout in the Layers panel makes it absolute for you, so it stays where it was. A layer placed straight in the design (the top-level frame) joins the flow instead. A grid never makes it absolute.

The first row of the section has six buttons: Align left, Align horizontal centers, Align right, Align top, Align vertical centers and Align bottom. Each one moves the layer in one step, within the frame it sits in. For a layer placed straight in the design, that is the whole design. They do not space layers out evenly and they move one layer at a time.

  1. Select the layer, for example the logo layer.
  2. In Position, click a button of the first row.
  3. The layer moves to that edge or to the middle. Undo takes it back.

Four fields sit around a small square: top, left, right and bottom. They are distances, not X and Y coordinates.

  • The top field and the left field are the distance from the top edge and the left edge of the frame.
  • The right field and the bottom field are the distance from the right edge and the bottom edge of the frame.

Type a number and press Enter. The layer moves, and everything inside it moves with it. You can type a negative number to push the layer past the edge, and decimals. The fields show two decimals. A field is greyed out when the layer is not pinned to that edge (see below).

Constraints say which edge of its frame a layer is attached to. The square between the four fields shows it: a line on a side means the layer is pinned to that side, and the cross in the middle means it is centred on that axis.

  • Click a line of the square to pin that edge: Pin top, Pin left, Pin right or Pin bottom. It replaces the pin on the same axis. A layer is pinned on one side per axis, never on two.
  • Click an arm of the cross to centre the layer: Center horizontally or Center vertically. Click it again to go back to the start edge.
  • Or choose the same thing in two dropdowns under the square: Horizontal constraint (Left, Right or Center) and Vertical constraint (Top, Bottom or Center).
  1. Select the layer, for example the logo layer.
  2. In Position, click a line of the square, or open Horizontal constraint or Vertical constraint and pick a value.
  3. Type a distance in the field of the pinned edge.

Changing a constraint does not move the layer. And the editor does not apply constraints when you drag the edge of a frame by hand: the layers inside keep their place. Constraints matter when the size of a frame changes because of its content, for example a frame that hugs a text and grows when the text gets longer. The layer then keeps its distance from the edge it is pinned to. The same goes for the images Cropink generates from your design, where the content comes from your products.

The same applies to the design itself. When you change the size of the top-level frame, every layer stays where it is (see Auto layout, padding and size).

  • A layer inside a group has its constraints locked: it is pinned to the top left corner of the group. The square is greyed out and the two constraint dropdowns do not show.
  • The align buttons, the four fields and the constraints are recorded in Undo, and they show up in Review as changes to the position.