Copy link to clipboard
Copied
Hi.
I'm trying to write different parameters into my Source Text like this:
style.setLeading(text.sourceText.style.fontSize*1.1);
style.setFauxBold(1);
style.setAllCaps(1);
But whatever I do - only the last line renders. If I switch them around, or take some out. Still - only last line renders. What am I missing? How do I change several parameters to my Source Text?
You chain them on the end like this.
style.setLeading(text.sourceText.style.fontSize*1.1).setFauxBold(1).setAllCaps(1);
Copy link to clipboard
Copied
Hi.
I'm trying to write different parameters into my Source Text like this:
style.setLeading(text.sourceText.style.fontSize*1.1);
style.setFauxBold(1);
style.setAllCaps(1);
But whatever I do - only the last line renders. If I switch them around, or take some out. Still - only last line renders. What am I missing? How do I change several parameters to my Source Text?
You chain them on the end like this.
style.setLeading(text.sourceText.style.fontSize*1.1).setFauxBold(1).setAllCaps(1);
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
You chain them on the end like this.
style.setLeading(text.sourceText.style.fontSize*1.1).setFauxBold(1).setAllCaps(1);
Copy link to clipboard
Copied
Thank you Greg1987! That was my missing piece. Everything works fine now. 😊🙏🏻