Skip navigation.
 
mlRe: Table Header-Style View for a Label
FROM : Laurent Cerveau
DATE : Fri Mar 28 23:00:55 2008

On Mar 28, 2008, at 8:52 PM, Andrew Merenbach wrote:

> I would like to make a header view that looks like an 
> NSTableHeaderView (i.e., with the gradient of such a table header 
> view) for an NSTextView and possibly an NSCollectionView.  This view 
> would label the view in question, but also would look like a part of 
> it by virtue of being "attached."  This appears to be nonstandard, 
> of course, but I feel that it would be useful -- and it's not a 
> gadget of some sort that has any user interactivity, so I don't feel 
> that it would be that confusing.


I am not sure I understand everything but if you want to simply draw 
something that looks like a NSTableHeaderView you can have a custom 
view and draw a NSTableHeaderCell in its draw method. This allows you 
to not have all the "other parts" of NSTableHeaderView and keep it 
light.


laurent

Related mailsAuthorDate
mlTable Header-Style View for a Label Andrew Merenbach Mar 28, 20:52
mlRe: Table Header-Style View for a Label Laurent Cerveau Mar 28, 23:00
mlRe: Table Header-Style View for a Label Andrew Merenbach Mar 29, 05:43