Skip to main content
Question

Cannot set paragraphSpacing programmatically in figjam?

  • February 27, 2022
  • 4 replies
  • 601 views

lepdev

Before declaring this a bug, I want to be sure but this doesn’t work for me :

 shape.text.paragraphSpacing = 6;

This topic has been closed for replies.

4 replies

tank666
  • 4873 replies
  • February 27, 2022

So you don’t see any changes on the canvas and no errors in the console? paragraphSpacing is a supported property in the Plugin API.

Are you loading the font before changing paragraph spacing?


lepdev
  • Author
  • 57 replies
  • February 28, 2022

font is loaded proof is I can write title successfully

I can’t any error loaded in console.


tank666
  • 4873 replies
  • February 28, 2022

From the looks of it, you’re only calling font loading for the above functions, not for paragraph spacing. Try loading the font in the third line and check.


  • 0 replies
  • March 30, 2022

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings