Re: Removing formatting goo from NSRulerView subclass...
Re: Removing formatting goo from NSRulerView subclass...
- Subject: Re: Removing formatting goo from NSRulerView subclass...
- From: "M. N. Jackson" <email@hidden>
- Date: Sun, 4 Mar 2007 08:27:18 -0600
Rachel,
Could you a simple version of the code you used to accomplish this. I
am interested in this also. Thanks.
On Mar 4, 2007, at 2:01 AM, Rachel Blackman wrote:
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:
40valera1909.com
This email sent to email@hidden
_______________________________________________
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