Re: Removing formatting goo from NSRulerView subclass...
Re: Removing formatting goo from NSRulerView subclass...
- Subject: Re: Removing formatting goo from NSRulerView subclass...
- From: Rachel Blackman <email@hidden>
- Date: Sun, 4 Mar 2007 00:01:54 -0800
On Mar 3, 2007, at 7:43 PM, Rachel Blackman wrote:
So, I have an NSRulerView I need to attach to an NSScrollView
containing an NSTextView subclass. So far, all is good.
However, no matter what I do or override, I cannot seem to get rid
of the little formatting portion of the ruler.
Solved it myself. After a bit more head-scratching, I realized
NSLayoutManager was probably responsible for the little bugger's
constant return. A bit of subclassing later, and tada, back in
business.
How come it's only after you throw in the towel and ask for help
somewhere that you realize what you were overlooking? :)
--
Rachel 'Sparks' Blackman -- sysadmin, developer, mad scientist
"If it is not broken, give me five minutes to redesign it!"
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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