The DataWindow painter provides a grid and a ruler to help you align controls.
To use the grid and the ruler:
Select Design>Options from the menu bar.
The DataWindow Options dialog box displays. The Alignment Grid box contains the alignment grid options.
Use the options as needed:
Option |
Meaning |
---|---|
Snap to Grid |
Make controls snap to a grid position when you place them or move them. |
Show Grid |
Show or hide the grid when the workspace displays. |
X |
Specify the size (width) of the grid cells. |
Y |
Specify the size (height) of the grid cells. |
Show Ruler |
Show a ruler. The ruler uses the units of measurement specified in the Style dialog box. See “Changing the DataWindow object style”. |
Your choices for the grid and the ruler are saved and used the next time you start PowerBuilder.