• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Table Header-Style View for a Label
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Table Header-Style View for a Label


  • Subject: Re: Table Header-Style View for a Label
  • From: Laurent Cerveau <email@hidden>
  • Date: Fri, 28 Mar 2008 23:00:55 +0100


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@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Table Header-Style View for a Label
      • From: Andrew Merenbach <email@hidden>
References: 
 >Table Header-Style View for a Label (From: Andrew Merenbach <email@hidden>)

  • Prev by Date: Re: better way to search list archives?
  • Next by Date: Re: better way to search list archives?
  • Previous by thread: Table Header-Style View for a Label
  • Next by thread: Re: Table Header-Style View for a Label
  • Index(es):
    • Date
    • Thread