-
Two dynamic boxes with relationship with each other
Hi all,
I have two dynamic boxes/titles that should have a relationship with each other.
The two boxes contain titles and are on top of each other on the Y-axis.
I would like an expression that makes both boxes/titles expand to the width of the longer box/title, i.e. The one with the longer text dictates the width of the titles.Thank you for any help!
I used the expression below to create the boxes
title = thisComp.layer("Title").sourceRectAtTime();padding = effect("Padding")("Slider");[title.width + padding, title.height + padding];http://www.emilianogrimaldi.it
https://emilianogrimaldi.blogspot.com