Command Prompt for Windows




Aligning and Sizing Items

Items in a dialog box can be aligned to other items in a dialog box or be sized the same as other items in a dialog box. Select the Align Menu in the Dialog Editor to display the following menu :-

Select the Align sub menu option to display the following sub menu :-

Align | Left sides

Align all selected items with the left most selected item.

After selecting the items to align select Align -> Left sides to move the items to the left most selected item :-

Align | Right sides

Align all selected items with the right most selected item.

After selecting the items to align select Align -> Right sides to move the items to the right most selected item :-

Align | Tops

Align all selected items with the top most selected item.

After selecting the items to align select Align -> Tops to move the items to the top most selected item :-

Align | Bottoms

Align all selected items with the bottom most selected item.

After selecting the items to align select Align -> Bottoms to move the items to the bottom most selected item :-

Select the Size sub menu option to display the following sub menu :-

Size | Smallest width

Set the width of all selected items to the smallest most selected item width.

After selecting the items to size select Size -> Smallest width to shrink the item widths to the smallest most selected width :-

Size | Smallest height

Set the height of all selected items to the smallest most selected item height.

After selecting the items to size select Size -> Smallest height to shrink the item heights to the smallest most selected height :-

Size | Largest width

Set the width of all selected items to the largest most selected item width.

After selecting the items to size select Size -> Largest width to grow the item widths to the largest most selected width :-

Size | Largest height

Set the height of all selected items to the largest most selected item height.

After selecting the items to size select Size -> Largest height to grow the item heights to the largest most selected height :-

Size to text

Set the width of an item to the size of the text.

To size the bounding rectangle of an item to the minium width needed to include all the text select the item, then from the Align menu select the Size to text option. The bounding rectangle will either grow or shrink in width as necessary.

Not all dialog items can size to text. For example, Static text, Check Boxes and Radio Boxes can size to text.