This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Francois W Brahic
Posted Aug 01 - Read on Facebook

I'm having an issue with the Text Layer - for some reason even though I have it sent to Align.center it's aligning to the left. Any thoughts? Code snippet below.

clampCountdown = new TextLayer
text: "{counter}"
textAlign: Align.center
fontSize: 80
fontStyle: "bold"
color: "white"
parent: clamp
x: Align.center
y: Align.center(95)
opacity: 0
clampCountdown.template = 15

2 Comments

Andrew Nalband

you have to reset the alignment after changing the template text

Andrew Nalband

clampCountdown.x = Align.center

Read the entire post on Facebook