# unityTextAutoSize

> Overrides any explicit font-size to scale text within the defined minimum and maximum bounds, recalculating as needed to fit its container.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.UIElements](/engine/6000.3/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
StyleTextAutoSize unityTextAutoSize { get; set; }
```
