# Grid Lines for Editing Dialog Boxes

A grid can be used to perform precise positioning and sizing of controls by breaking the editor window up into divisions. You can show (or hide) grid lines by toggling the "View/Grid" option.

You can change the color of the grid by selecting a color from the color palette then using the "View/Grid Color" option. The granularity of the grid can be adjusted using the "View/Grid spacing" option. Granularity can be "Fine", "Medium", or "Coarse":

Fine – 1 Font unit wide, 0.25 font units high

Medium – 2 Font units wide, 0.5 font units high.

Coarse – 4 Font units wide, 1 font unit high.

By toggling the "View/Snap" option, you can restrain positioning and resizing of shapes to the intersections of the grid.