Re: Subclassing NSLevelIndicatorCell
Re: Subclassing NSLevelIndicatorCell
- Subject: Re: Subclassing NSLevelIndicatorCell
- From: "Adam R. Maxwell" <email@hidden>
- Date: Thu, 28 Jun 2007 10:28:14 -0700
On Thursday, June 28, 2007, at 08:13AM, "Todd Freese" <email@hidden> wrote:
>My issue turned out to be an incorrect style setting on the cell.
>However, I have been able to subclass NSLevelIndicatorCell just fine.
>I override drawWithFrame and it is working fine under Tiger. Of
>course, I have only tried using the cell in a TableView. Here is my
>final code.
Interesting. I was trying to override - (void)drawInteriorWithFrame:(NSRect)cellFrame inView:(NSView *)controlView; that and -drawingRectForBounds: weren't called (at least for a relevancy indicator). All I wanted to do is change the interior height of the cell so it didn't fill the entire row height.
thanks,
Adam
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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