# Editor.GridLayout

A widget layout. You can think of it as an invisible box of rows or columns, each one containing a widget, useful for automatic positioning and scaling.

- Kind: class
- Namespace: `Editor`
- Assembly: `Sandbox.Tools`
- Inherits: [Editor.Layout](/api/Editor.Layout)

## Constructors

- [`GridLayout`](/api/Editor.GridLayout/.ctor)

## Properties

- [`HorizontalSpacing`](/api/Editor.GridLayout/HorizontalSpacing)
- [`VerticalSpacing`](/api/Editor.GridLayout/VerticalSpacing)

## Methods

- [`Add`](/api/Editor.GridLayout/Add)
- [`AddCell`](/api/Editor.GridLayout/AddCell)
- [`GetCellRect`](/api/Editor.GridLayout/GetCellRect)
- [`SetColumnStretch`](/api/Editor.GridLayout/SetColumnStretch)
- [`SetMinimumColumnWidth`](/api/Editor.GridLayout/SetMinimumColumnWidth)
- [`SetMinimumRowHeight`](/api/Editor.GridLayout/SetMinimumRowHeight)
- [`SetRowStretch`](/api/Editor.GridLayout/SetRowStretch)
