Using rulers and guides

Rulers and guides help you position the elements in your application.

To use rulers and guides, in the Preview:

  1. Select the Node tool image0.

  2. Click image1 to enter the Analyze mode.

  3. Right-click image2, and select Rulers and guides.

../../_images/visualize-rulers-and-guides.png

Adding a guide

To add a guide, in the Preview select the Node tool image3 and drag a ruler to the preview area. Drag from the horizontal ruler to add a horizontal guide, and from the vertical ruler to add a vertical guide.

Tip

Use the Snap tool to snap an element in your application to a guide. To enable snapping, in the Node Tree select a 2D node, in the Preview select the Node tool image4 , and select image5. When you move 2D node in your application, it snaps to the nearest guide.

../../_images/add-guide.gif ../../_images/horizontal-and-vertical-guide.png

Moving a guide

To move a guide, in the Preview select the Node tool image7 and drag the guide you want to move.

../../_images/move-guide.png

Removing a guide

To remove a guide, in the Preview select the Node tool image9, drag the guide, and drop it on the ruler.

../../_images/remove-guide.gif

Removing all guides

To remove all guides, in the Preview select the Node tool image10, right-click one of the guides, and select Delete all guides.

../../_images/delete-all-guides.png

See also

Preview

Editing your application in the Preview

Controlling the Preview