Skip to main content
These three buttons automatically resize a box’s height to match its text. Auto-fit is only available when vertical alignment is set to top.
ButtonFits box height to…
Fit to cursorThe text’s cursor/insertion point.
Fit to text boundsThe precise visible bounds of the rendered text.
Fit to baselineThe text’s baseline.
Click a button to turn that fitting method on, or click it again to turn auto-fit off entirely.
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.