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

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to