Using the Layout Commands

The command toolbar at the top of the dialog editor contains a number of layout commands that make it easy to position and size multiple controls.

Alignment

To use these commands, select all the controls you want to align except the master (either by clicking on an empty space in the dialog and dragging a selection rectangle around them, or by Shift- or Control-clicking them). Then Shift- or Control-click on the master control so that it’s the last one you select. You can distinguish the master control from the other selected controls by the color of its grips.

Once you have the controls you want aligned and the correct master control selected, click the desired alignment command.

Sizing

To use these commands, select all the controls you want to resize except the master (see the Alignment section above for more detail on this process). Once you have the controls selected and the correct master chosen, click the desired resize command.

Positioning

Grid

The grid size can be modified using the Grid Settings command in the Edit menu.

最后更新于