Using the Layout Grid
Home Page (Dialog Editor) | Overview | How Do I ... Topics
When you are placing or arranging controls in a dialog box, you can use the layout grid for more precise positioning. When the grid is turned on, controls appear to “snap to” the dotted lines of the grid as if magnetized. You can turn this “snap to grid” feature on and off and change the size of the layout grid cells.
To turn the layout grid on or off
From the Layout menu, choose Guide Settings.
Select or clear the Grid button.
You can still control the grid in individual Dialog editor windows using the Toggle Grid button on the Dialog toolbar.
To change the size of the layout grid
From the Layout menu, choose Guide Settings.
Type the height and width in DLUs for the cells in the grid. The minimum height or width is 4 DLUs. For more information on DLUs, see About Arranging Controls on Dialog Boxes.