Re: Line Spacing: NSTextField ~10% > NSTextView for same font
Re: Line Spacing: NSTextField ~10% > NSTextView for same font
- Subject: Re: Line Spacing: NSTextField ~10% > NSTextView for same font
- From: Joshua Scott Emmons <email@hidden>
- Date: Mon, 18 Feb 2008 11:36:29 -0600
Does anyone know why a wrapped NSTextField has a slightly larger
line spacing than NSTextView with the same font?
What is a good way to predict the required string height for text
which will be drawn in a wrapped NSTextField?
Could it have something to do with typesetter behaviors?
http://lists.apple.com/archives/cocoa-dev/2006/Jan/msg00109.html
It could be that the pre-packaged NSLayoutManager that comes with an
NSTextView has a different typesetter behavior than one that you
freshly alloc for use with your NSTextField?
Just a guess,
-Joshua Emmons
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden