Using rulers and guides¶
Rulers and guides help you position the elements in your application.
To use rulers and guides, in the Preview select the Node tool , click
to enter the Analyze mode, right-click
, and select Rulers and guides.
![../../_images/visualize-rulers-and-guides.png](../../_images/visualize-rulers-and-guides.png)
Adding a guide¶
To add a guide, in the Preview select the Node tool 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 , and select
. When you move 2D node in your application, it snaps to the nearest guide.
![../../_images/add-guide1.gif](../../_images/add-guide1.gif)
![../../_images/horizontal-and-vertical-guide.png](../../_images/horizontal-and-vertical-guide.png)
Moving a guide¶
To move a guide, in the Preview select the Node tool and drag the guide you want to move.
![../../_images/move-guide.png](../../_images/move-guide.png)
Removing a guide¶
To remove a guide, in the Preview select the Node tool , drag the guide, and drop it on the ruler.
![../../_images/remove-guide.gif](../../_images/remove-guide.gif)
Removing all guides¶
To remove all guides, in the Preview select the Node tool , right-click one of the guides, and select Delete all guides.
![../../_images/delete-all-guides.png](../../_images/delete-all-guides.png)