2.13. To Group and/or Align Objects

To group and/or align object, choose Group and/or align objects in the popup menu. The dialog box below will pop up.

Figure 2-16. Group and/or Align Dialog Box.

The fields in this dialog box are:


Whether to create or not a group.


Whether to align selected objects or not.

If you choose to align the objects, you must select the alignment mode in the list. Available modes are:


This is the most usual mode. Texts will have the same baseline and other objects will be aligned on a horizontal line passing in the middle of a C character in the font used for chemical symbols.

You can choose which part of a molecule (bond, atom or fragment) will be used for normal alignment: move the mouse cursor to the bond, atom, or fragment, right click and select Select alignment item in the popup menu.


Align object according to their top borders.


Align object according to their vertical centers.


Align object according to their bottom borders.


Align object according to their left borders.


Align object according to their horizontal centers.


Align object according to their right borders.

Space evenly

Whether to space evenly aligned objects or not. This option is available only if you align the objects. You must choose the distance to use to space the objects in the spin button on the right.

If grouped, objects will stay aligned when a change occur.

Groups cannot be flipped or rotated in this version of GChemPaint.

To ungroup objects or change alignment, choose Group properties in the contextual menu to display the dialog, uncheck Group and validate.