Re: Multi-column text in NSTextView
Re: Multi-column text in NSTextView
- Subject: Re: Multi-column text in NSTextView
- From: Douglas Davidson <email@hidden>
- Date: Wed, 15 Nov 2006 08:27:01 -0800
On Nov 14, 2006, at 10:33 PM, Greg Hoover wrote:
I'm trying to create multi-column text in a NSTextView. I think I
can sublcass the NSTextAttachmentCell to render the blank space
necessary for creating column alignment, but that's a pain, if it
even works. Or possibly subclassing NSAttributedString and
override the size method to return the required padding. Anybody
have an easier solution for this?
Take a look at /Developer/Examples/AppKit/TextSizingExample. This
shows many different ways of configuring NSTextViews, including a two-
column case. Tables are not really a substitute for multiple columns
in general, although they might be usable in certain special cases.
Douglas Davidson
_______________________________________________
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