• 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: Custom table header scroll-bar bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom table header scroll-bar bug


  • Subject: Re: Custom table header scroll-bar bug
  • From: David McGavern <email@hidden>
  • Date: Sat, 20 Nov 2004 22:18:53 -0500

Hey Kevin,

I was hoping to avoid this, because when I draw my own view the "Source" text doesn't remain perfectly centered with the entire table (a minor issue, but one that would get on my nerves ;-).

Thanks!

- Davey

On Nov 20, 2004, at 10:13 PM, Keith Renz wrote:

Davey,

You need to draw your own corner view to match your table's header view. To do this, subclass NSView and override drawRect: to match your header. Set your table view's corner view to your custom corner view with:

[yourTableView setCornerView:yourCornerView];

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
References: 
 >Custom table header scroll-bar bug (From: David McGavern <email@hidden>)
 >Re: Custom table header scroll-bar bug (From: Keith Renz <email@hidden>)

  • Prev by Date: Re: Custom table header scroll-bar bug
  • Next by Date: Problems with mouse events
  • Previous by thread: Re: Custom table header scroll-bar bug
  • Next by thread: Problems with mouse events
  • Index(es):
    • Date
    • Thread