# Editor.BoxLayout

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)
- Modifiers: sealed

## Methods

- [`Add`](/api/Editor.BoxLayout/Add)
- [`AddSpacingCell`](/api/Editor.BoxLayout/AddSpacingCell): Add a spacing item
- [`AddStretchCell`](/api/Editor.BoxLayout/AddStretchCell): Add a stretch item
- [`GetCellStretch`](/api/Editor.BoxLayout/GetCellStretch)
- [`SetCellStretch`](/api/Editor.BoxLayout/SetCellStretch)
