Forum Replies Created

Page 2 of 2
  • Sandro Maia

    September 21, 2022 at 11:26 am in reply to: Text box with 2 separate text layers adapting to each other

    After trying around i’ve managed to do it with this simple expression applied to the “x” position of “John” layer.

    Now everything is centred all the time.

    transform.xPosition - (thisComp.layer("• This text layer adapts").sourceRectAtTime().width/2)

  • Hi Filip, this worked perfectly. Is there also a way to keep everything centred to the composition when you type on the second text? Typing on the first text everything is aligned to the centre, but when i type on the second text the shape only expands to the right and doesn’t centre.

    Thank you so much for your help! Appreciated.

Page 2 of 2

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy