Re: Tall NSTableView Column Headers
Re: Tall NSTableView Column Headers
- Subject: Re: Tall NSTableView Column Headers
- From: Keith Renz <email@hidden>
- Date: Thu, 21 Oct 2004 21:22:35 -0400
I have been trying to do the same thing. I tried subclassing
NSTableHeaderView and got the same results as you did. I figured
NSTableHeaderCell was my next step.
I subclassed NSTableHeaderCell and fussed with it for hours. There's no
way I can see to hook into the standard drawing behavior. If you look
at the stack frame in the debugger, NSTableHeaderCell's standard
drawing is calling a bunch of private theme methods. Just as an
exercise, I overrode the 3 drawing methods mentioned in my previous
post and they do work. Unfortunately, you've got to fill in the drawing
yourself. I did some rudimentary drawing and it all worked, but I want
the standard look!
It looks like the corner views also need to be changed, but that's a
relatively small thing.
Exact same issues with the corner view.
I'll be interested to know if you find anything further, and I'll
certainly report anything I learn as well.
I'll do the same.
It occurs to me that this could also be something that should be put
in an enhancement request to Apple.
I agree and will submit a request.
Keith
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden