3

I'm making a complicated watch UI with a lot of expressions linked to different values of the display.

As you can see from the image below, 9hrs isn't bonded to an expression yet, but it's graphically correct: 9 and hrs have different font sizes.

100min instead is bonded to an expression and it does disrupt the font formatting making min the same size as 100.

screenshot

//This is the expression
Math.round(thisComp.layer("Orange").content("Trim Paths 1").end.value.toFixed(0)) + "min" 

Is there a way to tell that string that the font size for 'min' needs to be of 40px?

Thanks!

1 Answer 1

0

Have you tried the parameter fontSize (note the lower case at beginning and upper case in the middle?)

https://community.adobe.com/t5/after-effects-discussions/expressions-accessing-text-property-fontsize-from-another-layer/m-p/10727207

1
  • The problem is isolating the font size expression on a portion of a text layer! So '#' is one size and 'mins' another. I don't know how to integrate it into that expression I posted. Jan 26 at 14:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.