# Editor.BoxLayout.SetCellStretch

## Overload 1

```csharp
void SetCellStretch(int index, int stretch)
```

### Parameters

- `index` (`int`)
- `stretch` (`int`)

## Overload 2

```csharp
void SetCellStretch(Widget widget, int stretch)
```

### Parameters

- `widget` (`Widget`)
- `stretch` (`int`)

## Overload 3

```csharp
void SetCellStretch(Layout layout, int stretch)
```

### Parameters

- `layout` (`Layout`)
- `stretch` (`int`)

Declared in [Editor.BoxLayout](/api/Editor.BoxLayout).
Assembly: `Sandbox.Tools`.
