-
Auto-Scaling Multiple Text Layers To Area
Hi, I’ve been having some issues figuring out the best way to go about automatically scaling multiple text layers to a specified area when i add another line to one of the texts.
My first try was to precompose my layers, rasterize it, making the borders set to the layers inside, and use
y= 1532/thisLayer.sourceRectAtTime(time).height*80;;
[y,y]
This didn’t work because rasterizing the comp still didn’t change the border values even though visually they are different.
Next I wanted to scale a shape layer to the text. then create a null to parent to the scale property of the shape layer and add a *-(?) . Then parent the text layers to the shape making them scale down every time I added a line. I couldn’t figure out how to get a shape layer to scale to the text either which I believed could be a work around.If anyone has any knowledge of auto-scaling shape layers to multiple layers, or how to get the rasterized pre-comp to scale when the layers inside are changing you would be my saviour. Thanks!!