Re: Drawing NSTextFieldCell subclass in table view
Re: Drawing NSTextFieldCell subclass in table view
- Subject: Re: Drawing NSTextFieldCell subclass in table view
- From: Andre Masse <email@hidden>
- Date: Sat, 13 Dec 2008 19:55:03 -0500
Right on Patrick!
Thanks a lot,
Andre Masse
On Dec 13, 2008, at 19:26, Patrick Mau wrote:
Hi Andre
It seems you are not using the cellFrame.origin.y when you create
your new frame.
CGFloat y = cellFrame.origin.y + cellFrame.size.height/2.0 - 10.0;
NSRect frame = NSMakeRect(cellFrame.origin.x, y, 36.0, 20.0);
Regards,
Patrick
_______________________________________________
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