Aligning elements

You can align elements in the graphical editor.

To align elements, first, you should select them in the graphical editor, then right-click (Mac OS: Ctrl+click) the selection and choose the required alignment command from the Align submenu


Please note that you can align elements of different types: presentation shapes, library objects, parameter, function, database icons, etc.

You cannot align statechart and actionchart elements since this may distort their structure and logic.

Let's illustrate all alignment commands by example of three shapes:

Assume that the shapes are located initially as shown in the figure above. The table below shows results of applying each alignment command for this particular case.

Command

The result of the command

Description

 Horizontal Align Left

Detects the leftmost element and aligns left borders of all selected elements to the left border of this particular element.

 Horizontal Align Center

Detects the vertical axis that goes through the center of the selected area, and shifts all the selected elements horizontally so that their centers lie on this axis.

 Horizontal Align Right

Detects the rightmost element and aligns right borders of all selected elements to the right border of this particular element.

Vertical Align Top

Detects the topmost element and aligns top borders of all selected elements to the top border of this particular element.

 Vertical Align Center

Detects the horizontal axis that goes through the center of the selected area, and shifts all the selected elements vertically so that their centers lie on this axis.

 Vertical Align Bottom

Detects the bottommost element and aligns bottom borders of all selected elements to the bottom border of this particular element.


See also

 Graphical editor