I’m trying to resize a label to match it’s content (text) using sizeToFit.
From what Apple describes, every NSControl (NSTextField, Label, …) responds to the sizeToFit method :
[quote]Resizes the receivers frame so that it is the minimum size needed to contain its cell
The problem is
With Xcode, it simply works.
But with Xojo, it does not.