# GridPalette.CellSizing

> Controls the sizing of cells for a Palette.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public enum GridPalette.CellSizing
```

## Fields

| Value                                                                                        | Description                                                                                                                             |
| -------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| [Automatic](/engine/6000.6/script-reference/unityeditor/gridpalette/cellsizing/automatic.md) | Automatically resizes the Palette cells by the size of [Sprite](/engine/6000.6/script-reference/unityengine/sprite.md)s in the Palette. |
| [Manual](/engine/6000.6/script-reference/unityeditor/gridpalette/cellsizing/manual.md)       | Size of Palette cells will be changed manually by the user.                                                                             |
