Dynamic Text Box in After Effects - AEJuice

Dynamic Text Box in After Effects

How to create a dynamic text box?

    1. Create a text layer and rename it to textLayer.
    2. Create a rectangular shape.
    3. Alt-click on the Size property and paste the expression below.

    1. Alt-click on the Position property and paste the expression below.

How to make a box round?
Open Roundness property of the shape box and increase the value.

How to change padding?
Change horizontalPadding and verticalPadding in the first expression.