Re: Setting the subclass for an NSTextView... in IB..
Re: Setting the subclass for an NSTextView... in IB..
- Subject: Re: Setting the subclass for an NSTextView... in IB..
- From: Brian Webster <email@hidden>
- Date: Wed, 20 Nov 2002 16:56:43 -0600
On Wednesday, November 20, 2002, at 02:48 PM,
email@hidden wrote:
can this be done? I keep getting an empty inspector for Custom Class
I can do it for NSTableView... and others.. I just don't want to have
to add the code to rebuild the textview if I don't have to (I can.. I
have it.. but this seems like an IB limitation that isn't necessary)
Yeah, this does look like a limitation of the IB palette for
NSTextView. Definitely bug report material. In the meantime, you
might try adding a custom view to your window, selecting your
NSTextView subclass for its class, and then doing a Make Subviews
Of->Scroll View. It should at least save you from mucking around with
the code for it, although some configuration might still be necessary,
depending on if you want horizontal/vertical scrolling/layout of text,
etc.
--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.