Re: Custom table header scroll-bar bug
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