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'm looking to have a fixed width of 200, with a variable height determined by the amount of text in the label. If I use intrinsicContentSize, it gives me a the size of the bounding box of the label if the text were all in one line.
There is no way of generating a bounding box for the text given a fixed width, similar to
NSAttributedString.boundingRect(with:options:context:)
If you use
NSAttributedString.boundingRect(with:options:context:)
, estimate is wrong and text ends up getting cut off.The text was updated successfully, but these errors were encountered: