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
Hi all :) I am trying to calculate the width of a text box so I can animate a second text box next to the first one, leaving enough space for what ever content is put in the first. How should I go about doing this?
this is what I have so far but its not working. The text just disappears with no errors in the console:
text2.x = text1.textWidth + 500;
The text was updated successfully, but these errors were encountered:
Hi all :) I am trying to calculate the width of a text box so I can animate a second text box next to the first one, leaving enough space for what ever content is put in the first. How should I go about doing this?
this is what I have so far but its not working. The text just disappears with no errors in the console:
text2.x = text1.textWidth + 500;
The text was updated successfully, but these errors were encountered: