| Button | Fits box height to… |
|---|---|
| Fit to cursor | The text’s cursor/insertion point. |
| Fit to text bounds | The precise visible bounds of the rendered text. |
| Fit to baseline | The text’s baseline. |
While auto-fit is on, the height field in Box position, size & padding is locked, since After Effects is calculating it for you. Turn auto-fit off to set height manually again.