# Editor.SizeMode

- Kind: enum
- Namespace: `Editor`
- Assembly: `Sandbox.Tools`
- Modifiers: sealed

## Fields

- [`CanGrow`](/api/Editor.SizeMode/CanGrow): Can grow beyond its size hint if necessary
- [`CanShrink`](/api/Editor.SizeMode/CanShrink): can shrink below its size hint if necessary.
- [`Default`](/api/Editor.SizeMode/Default): Default size mode - CanGrow and CanShrink
- [`Expand`](/api/Editor.SizeMode/Expand): Should get as much space as possible.
- [`Flexible`](/api/Editor.SizeMode/Flexible): Ignores the size hint - just expand as large as possible
- [`Ignore`](/api/Editor.SizeMode/Ignore): Widget size is ignored, will get as much space as possible.
