Re: Tall NSTableView Column Headers
Re: Tall NSTableView Column Headers
- Subject: Re: Tall NSTableView Column Headers
- From: Keith Renz <email@hidden>
- Date: Fri, 22 Oct 2004 15:28:20 -0400
On Oct 22, 2004, at 12:33 PM, Andrew Hunter wrote:
One tactic is to set the header text to nothing, and then add a
subview of the NSTableHeaderView (rather than go to the effort of
subclassing it) to contain the actual header text: either just use a
standard NSTextView or roll your own. I've used this technique to
create iTunes-style 'metal' table headers, and it works well.
Andrew.
That's and option, but I would still need to adjust the
NSTableHeaderView's height to accommodate 2 lines of text, which is my
biggest roadblock to getting the standard Aqua table header "look". To
get the height, I can either use a subclass or set the header view's
frame size. I initially went with the subclass because I thought I
might have been able to override headerRectOfColumn: to get the
standard look. Unfortunately, that didn't work, so I'm headed down this
road now.
Pressing on.
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