Using Rulers to Align Form Elements

Rulers are a convenient tool for aligning elements on a form. Elements that need to be placed on the same line vertically or horizontally can be "bound" to the appropriate ruler. When a ruler is moved, all the elements that are bound to it will be moved together, so that you do not need to select the elements manually each time you move them.

You can bound two sides of a n element to two parallel rulers. In this case, when you move the rulers, the size of the element will change accordingly. If you bind several elements to two parallel rulers, you will be able to change their sizes simultaneously.

Adding rulers

To add rulers to a page:

  • Click one of the main rulers located on the edges of the form. Clicking the horizontal ruler will add a vertical ruler and vice versa.
  • Select the tool to add a horizontal ruler or the tool to add a vertical ruler and then click where you wish the new ruler to be located.

Binding elements to rulers

To bind an element to a ruler, you need to place one of the borders of the element on the ruler. This can be achieved by moving the ruler, by moving the element, or by adjusting the size of the element.

If the automatic binding mode is on (), when you move a ruler, it will be automatically bound to all the elements located sufficiently close to the ruler. This mode is turned off by default.

When you select a ruler, all the elements bound to it are highlighted in the same color used to highlight the ruler. When you select an object that is bound to a ruler, the small square on the bound side of the object turns to red, so you will always know which rulers an element is bound to and which elements are bound to a particular ruler.

Moving rulers and elements

You can move rulers about your form by dragging them while holding down the left mouse button. Two rulers located in the same place will merge into one.

When you move a ruler, all the elements that are bound to it will also move. If an element is bound to two parallel rulers, its size will change when you move one of the rulers (provided this element allows changing its size).

Unbinding elements

To unbind an element, simply select it and move it away from its ruler.

Deleting rulers

To delete a ruler, select it and press Delete or select the Delete command on the menu.

12.04.2024 18:16:02

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.