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
I am using auto-layout so I need to set the box size before or at same time the text is set. Size to fit is not working for me, I don't know why.
Because I am using NSAttributedText and oficial apple methods to get the proper size are not working always as expected, after researching I found this works great.
Feel free to consider adding this to get the proper text size at setText time.
I am using auto-layout so I need to set the box size before or at same time the text is set. Size to fit is not working for me, I don't know why.
Because I am using NSAttributedText and oficial apple methods to get the proper size are not working always as expected, after researching I found this works great.
Feel free to consider adding this to get the proper text size at setText time.
The text was updated successfully, but these errors were encountered: