Line count in an NSTextField
Line count in an NSTextField
- Subject: Line count in an NSTextField
- From: Gregory Weston <email@hidden>
- Date: Sun, 25 Sep 2005 21:48:36 -0400
Between distractions, I've spent today trying to figure out how to
determine how many lines of text are in an NSTextField that is non-
editable, the contents of which are changed programmatically.
What I'm really trying to do is make a window be no larger than it
necessary to be to contain a small but variable amount of text,
subject to an arbitrary maximum width.
Any advice or pointers to sample code?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden