Common Desktop Environment: Application Builder User's Guide

To Align Control Objects in an Interface

  1. Select two or more objects.

    See "To Select Control Objects in the Interface or the Browser " for instructions.

  2. Choose Align from the Layout menu of the primary window or the interface pop-up menu (displayed by pressing mouse button 3) and select one of the alignment icons from the submenu.

    The selected objects will be aligned according to the alignment choice. Choices are described below. Vertical alignment icons are on the left and are described first.


    Note -


    • Left-edge: Aligns selected objects vertically along their left edges.

    • Vertical-center: Aligns selected objects vertically on their horizontal centers.

    • Right-edge: Aligns selected objects vertically along their right edges.

    • Colon: Aligns selected objects vertically along their colons or labels.

    • Top-edge: Aligns selected objects horizontally along their top edges.

    • Horizontal-center: Aligns selected objects horizontally on their vertical centers.

    • Bottom-edge: Aligns selected objects horizontally along their bottom edges.

    • Grid: Does no alignment at this time.


    Note -

    If you select objects that are arranged horizontally and choose a vertical alignment (or vice versa), the objects will end up on top of one another. You can unstack the objects by choosing Distribute from the pop-up menu immediately after the align function (the objects will still be selected). See "To Distribute Control Objects Evenly " for instructions.