Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing formatting goo from NSRulerView subclass...




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Removing formatting goo from NSRulerView subclass... (From: Rachel Blackman <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.