Layout Properties

Access the Layout Properties panel

To open Layout Properties panel, click on the 1st menu item on the right sidebar in Design mode.

layout-properties-panel

 
light-bulb
Tip: You can also access the panel by selecting “Show Layout Properties” in the More Actions dropdown as you select elements or screens.
 

Untitled 1

Alignment

Alignment tools allow you to arrange objects (elements, groups, or screens) on the canvas in relation to one another. You can align horizontally (right-center-left) or vertically (top-center-bottom).

Main use cases:

  • Select a single element to align to its parent (a container, a screen or a group)
  • Select multiple elements, groups or screens to align in relation to each other.

 
light-bulb
Tip: For quick access, you can also use the alignment buttons in the More Actions dropdown menu (open from context toolbar) as you select the elements.
 

Untitled 2

Untitled 3

Distribute spacing

Use Distribute spacing to create an equal spacing between objects in your selection, either vertically or horizontally. You need to select at least 3 objects to enable this property.

 

As the objects are distributed, the position of the outermost objects will remain the same while the spaces between the objects are adjusted.

Untitled 4 1

 
light-bulb
Tip: When selecting 3+ elements, you can use the distribute spacing buttons on the context toolbar for quick access.
 

Untitled 5 1

Position

As an alternative to dragging and moving the objects around the canvas, you can input the X-Y coordinate to specify the granular position of those objects.

 

The X-Y coordinate refers to the top-left corner of the object’s bounding and is subject to the object’s parent screen. Changing X moves the object along the horizontal axis, and changing Y moves the object along the vertical axis.

 

The X-Y coordinate will be updated accordingly as you move the objects around the canvas.

Untitled 6 1

 
light-bulb
Tip: You can input simple formulas such as +, -, x, / to return the needed value.
 

Size

As an alternative to dragging objects to resize on the canvas, you can input the W (stands for Width) and H (stands for Height) to specify the entity exact size. This comes in handy as you need to specify the exact size for multiple objects.

 

Each object has its own minimum width and height to avoid unnecessary distortion in the design. If you input W-H values below these minimum sizes, they will automatically revert to the nearest accepted values.

Untitled 7 1

 
light-bulb
Tip: You can lock or unlock the W:H ratio by clicking on the Constrained Proportions lock icon. When the ratio is locked, if you change one dimension, the other dimension is automatically updated to maintain the ratio.
 
 
light-bulb
Tip: You can also input simple formulas such as +, -, x, / to return the needed value, similar to X-Y fields.
 

 

 

Space between

Inputting the Space between value allows you to specify the exact space (in pixel) between the selected objects. You can also use this to set equal spacing between multiple objects.

 

Depending on the direction of your selected objects, you can choose to input the horizontal or vertical space between value.

  • If your selected objects line up as a row, use horizontal spacing.
  • If your selected objects line up as a column, use vertical spacing.

Untitled 8

Layer arrangement

Each object is placed on one layer on the layer tree of the board. The last object added will be placed at the top layer of the tree.

 

The layer arrangement function allows you to re-order the object layers to make the object more or less visible on the design. You can choose from:

  • Bring forward (or press Command ↑ (Mac); Ctrl ↑ (Wins))
  • Bring to front (or press Command + Shift + ↑ (Mac); Ctrl + Shift +↑ (Wins))
  • Send backward (or press Command ↓ (Mac); Ctrl ↓ (Wins))
  • Send to back (or press Command + Shift + ↓ (Mac); Ctrl + Shift + ↓ (Wins))

 

You can rearrange the object layer within its immediate parent container or screen. Changing layer orders will not affect the position of the object on X-Y axis.

Untitled 9

 

Anchor

Setting Anchor to an element helps keep the relative alignment of that element to its parent container or screen when resizing the parent. Utilize this feature to work the responsiveness of your designs.

Add or edit anchor of an element

The anchor function only works for an element placed in a parent container or screen. You can also set anchor to multiple elements at the same time or to a group that is placed in a parent container or screen.

 

You can choose to anchor the element horizontally (left-center-right) or vertically (top-center-bottom) depending on the direction you want to resize the parent.

Once selecting an element, open the Anchor section on Layout Properties panel and set anchor by:

  • Clicking directly on the anchor point
  • Or choose from the horizontal or vertical anchor dropdown

Untitled 10

Anchoring an element means setting a fixed margin of the element to its parent. For instance, if you set anchor an element to the right of the parent, its right margin will be fixed so its position will be adjusted as you resize the parent.

 
light-bulb
Tip: You can set multiple anchors to an element. For instance, setting left and right anchors to a button will let it expand or shrink horizontally as you resize its parent. If you set left-right and top-bottom anchors to an image, it will be resized accordingly as you resize the parent vertically or horizontally.
 

How to view anchor settings of an element

To check if an element on design has been set with an anchor or not, select and observe that element on the canvas. If it has been anchored, there will be purple dash lines to indicate its fixed margin to its parent container or screen.

 

Alternatively, you can view the anchor settings of the element in the More Actions menu (opened by right-clicking on the element) or in the Layout Properties panel.

Untitled 14

Untitled 12

Related Articles

Subscribe to
Visily now

Don’t miss out on the latest articles to stay a top of UX design and Product management

© 2024 Visily. All rights reserved.

© 2024 Visily, Inc. All rights reserved.