Re: To know what shows in the first line of a multiline NSTextField
Re: To know what shows in the first line of a multiline NSTextField
- Subject: Re: To know what shows in the first line of a multiline NSTextField
- From: Uli Kusterer <email@hidden>
- Date: Wed, 12 May 2010 14:43:36 +0200
On May 12, 2010, at 1:28 PM, Graham Cox wrote:
> I'm not sure how fields perform text layout - perhaps by using the field editor, or by using a temporary layout manager they create on the fly, or something else. I'm afraid I can't help much with that, but someone else might be able to.
Yes, text fields use the field editor, and it's not trivial to get the field editor correctly set up for the current state of the field and then mess with its layout manager. In that case I'd generally recommend just replacing the NSTextField with an NSTextView.
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
_______________________________________________
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