Windows Installer Editor Reference
471
Working With Dialogs
In Visual Studio: Format menu > Align > Lefts/Rights/Tops/Bottoms
All selected controls are aligned with the master control.
Centering Dialog Controls
You can center controls on a dialog box in relation to the dialog box boundaries.
To center dialog box controls
1. In Setup Editor > Dialogs tab, select a dialog box in the left pane.
2. In the right pane, select two or more controls.
3. Select Layout menu > Center in Form > and then select one of the following.
In Visual Studio: Format menu > Center in Form.
Vertically. Center within the top and bottom edges of the dialog box.
Horizontally. Center within the left and right edges of the dialog box.
All selected controls are centered on the dialog box.
Making Dialog Controls the Same Size
You can make multiple controls on a dialog box the same size.
To make dialog box controls the same size
1. In Setup Editor > Dialogs tab, select a dialog box in the left pane.
2. In the right pane, select two or more controls.
The last control you select is the master control that the other controls will be sized
to.
3. Select Layout menu > Make Same Size and then select one of the following.
In Visual Studio: Format menu > Make Same Size.
Width.
Height.
Both.
All selected controls are sized to the master control.
Spacing Dialog Controls Evenly
You can space controls on dialog boxes evenly between the leftmost and rightmost
controls (for horizontal spacing) or the topmost and bottommost controls (for vertical
spacing.)
To space dialog box controls evenly
1. In Setup Editor > Dialogs tab, select a dialog box in the left pane.
2. In the right pane, select two or more controls.
3. Select Layout menu and then select one of the following.
In Visual Studio: Format menu.