Re: NSTableRowView appearance when group rows float - SOLVED
Re: NSTableRowView appearance when group rows float - SOLVED
- Subject: Re: NSTableRowView appearance when group rows float - SOLVED
- From: Kyle Sluder <email@hidden>
- Date: Sun, 17 Aug 2014 08:22:29 -0700
On Aug 17, 2014, at 7:31 AM, Bill Cheeseman <email@hidden> wrote:
>
> It actually took one final, definitive step: overriding -[NSTableRowView drawRect:] to set the font of group source list rows to Bold System Font. I got the idea from a mailing list post a couple of years ago by Mr. Corbin, who I understand wrote the view-based NSTableView frameworks. Here's my -drawRect: override:
I’m curious if doing this in -viewWillDraw also works. If so, I’d recommend switching to that to avoid unnecessary backing store allocation. (The superclass might be using -wantsUpdateLayer instead of -drawRect:.)
--Kyle Sluder
_______________________________________________
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