# Sandbox.UI.PanelStyle.SetRect

```csharp
void SetRect(Rect rect)
```

### Parameters

- `rect` (`Rect`)

Declared in [Sandbox.UI.PanelStyle](/api/Sandbox.UI.PanelStyle).
Assembly: `Sandbox.Engine`.
