Re: Tall NSTableView Column Headers
Re: Tall NSTableView Column Headers
- Subject: Re: Tall NSTableView Column Headers
- From: Andrew Hunter <email@hidden>
- Date: Fri, 22 Oct 2004 17:33:04 +0100
On Thu, 21 Oct 2004 17:00:17 -0400, Keith Renz <email@hidden> wrote:
>
I need a NSTableView with tall column headers to accommodate 2 lines of
>
text. I previously received a reply (sorry, lost the reply) which said
>
I should subclass NSTableHeaderView and override headerRectOfColumn:.
>
This does not work.
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.
--
Andrew Hunter.
http://www.logicalshift.demon.co.uk
_______________________________________________
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