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, is there a way to set the box size ahead of time, based on the full text? I'm struggling with lower elements on my page jumping around when the windup does a newline.
The text was updated successfully, but these errors were encountered:
windups does not provide anything to help you do this, sorry! And I don't know if it's possible either. The line breaking functionality is provided by using CanvasRenderingContext2D.measureText(), but the measurements it returns do not include a height.
The way I've dealt with this is to make the window follow the last line of text. Either that or you use a fixed height and plan your text accordingly.
Hi, is there a way to set the box size ahead of time, based on the full text? I'm struggling with lower elements on my page jumping around when the windup does a newline.
The text was updated successfully, but these errors were encountered: