Thanks for sharing NS(Attributed)String+Geometrics.
I downloaded the demo project and ran it on Mac OS X Lion. The height of text in NSTextView+NSScrollView is always correct, but the height of text in NSTextField is not correct. Sometimes it is a little bit shorter and sometimes it is much longer.
PS. You have to resize the window to see the green arrow on Lion.
I did not find any problem in the code. Need some experts to take a look at it.
Thanks.
Thanks for sharing NS(Attributed)String+Geometrics.
I downloaded the demo project and ran it on Mac OS X Lion. The height of text in NSTextView+NSScrollView is always correct, but the height of text in NSTextField is not correct. Sometimes it is a little bit shorter and sometimes it is much longer.
PS. You have to resize the window to see the green arrow on Lion.
I did not find any problem in the code. Need some experts to take a look at it.
Thanks.