# Editor.Widget.AdjustSize

```csharp
void AdjustSize()
```

Adjusts the size of the widget to fit its contents.

Declared in [Editor.Widget](/api/Editor.Widget).
Assembly: `Sandbox.Tools`.
