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 @togfoxy.
There are two ways to do this as far as i can think of right now:
Parse the text and check for numbers of \n occurences.
Just let the user pass a number of multilines
First one would be costly as it will be calculated per frame.
Second one will allow for more control and users can even use this to easily make buttons with higher height.
Wrapping button text across multiple lines then doing a corresponding auto-size would be handy.
The text was updated successfully, but these errors were encountered: