Share via


Using the Layout Grid

Home Page (Dialog Editor)OverviewHow 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

  1. From the Layout menu, choose Guide Settings.

  2. 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

  1. From the Layout menu, choose Guide Settings.

  2. 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.