• 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: Drawing NSTextFieldCell subclass in table view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Drawing NSTextFieldCell subclass in table view (From: Andre Masse <email@hidden>)
 >Re: Drawing NSTextFieldCell subclass in table view (From: Patrick Mau <email@hidden>)

  • Prev by Date: Re: constraining autoresizing of a splitview subview
  • Next by Date: Re: Drawing NSTextFieldCell subclass in table view
  • Previous by thread: Re: Drawing NSTextFieldCell subclass in table view
  • Next by thread: constraining autoresizing of a splitview subview
  • Index(es):
    • Date
    • Thread