You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I center a text element both vertically and horizontally? I know that I can set the width of the text to 50%, but I don't want to fix the width of the text. I want to dynamically calculate the width of the text and then offset the text to the left by half the width of the text. I'm not sure if pptxgenjs supports this?
The text was updated successfully, but these errors were encountered:
How can I center a text element both vertically and horizontally? I know that I can set the width of the text to 50%, but I don't want to fix the width of the text. I want to dynamically calculate the width of the text and then offset the text to the left by half the width of the text. I'm not sure if pptxgenjs supports this?
The text was updated successfully, but these errors were encountered: