Aligning Controls

Home Page (Dialog Editor)OverviewHow Do I ... Topics

Once controls are in place, the Dialog editor offers a variety of ways to refine their positions.

What do you want to know more about?

Arranging controls on dialog boxes

What do you want to do?

Align controls

Align controls on their center, horizontally or vertically

Even the spacing between controls

Center controls in the dialog box

Arrange push buttons along the right or bottom of the dialog box

To align controls

  1. Select the controls you want to align.

  2. Make sure the correct dominant control is selected.

    The final position of the group of controls depends on the position of the dominant control. For more information on selecting the dominant control, see Selecting Controls.

  3. From the Layout menu, choose Align, and then choose one of the following alignments:

    • Left:  aligns the selected controls along their left side.

    • Right:  aligns the selected controls along their right side.

    • Top:  aligns the selected controls along their top edges.

    • Bottom:  aligns the selected controls along their bottom edges.

To align controls on their center, vertically or horizontally

  1. Select the controls you want to center.

  2. Make sure the correct dominant control is selected.

    The final position of the group of controls depends on the position of the dominant control. For more information on selecting the dominant control, see Selecting Controls.

  3. From the Layout menu, choose Align, and then choose Horiz. Center or Vert.Center.

To even the spacing between controls

  1. Select the controls you want to rearrange.

  2. From the Layout menu, choose Space Evenly, and then choose one of the following spacing alignments:

    • Across: spaces controls evenly between the leftmost and the rightmost control selected.

    • Down: spaces controls evenly between the topmost and the bottommost control selected.

To center controls in the dialog box

  1. Select the control or controls you want to rearrange.

  2. From the Layout menu, choose Center In Dialog, and then choose one of the following arrangements:

    • Vertical: centers controls vertically in the dialog box.

    • Horizontal: centers controls horizontally in the dialog box.

To arrange push buttons along the right or bottom of the dialog box

  1. Select one or more push buttons.

  2. From the Layout menu, choose Arrange Buttons, and then choose one of the following arrangements:

    • Right: aligns push buttons along the right edge of the dialog box.

    • Bottom: aligns push buttons along the bottom edge of the dialog box.

    If you select a control other than a push button, its position is not affected.