Re: NSButtonCell never asked to draw its whole rect -- clips at width 54.0
Re: NSButtonCell never asked to draw its whole rect -- clips at width 54.0
- Subject: Re: NSButtonCell never asked to draw its whole rect -- clips at width 54.0
- From: Jerry Krinock <email@hidden>
- Date: Mon, 8 Jun 2009 18:29:20 -0700
On 2009 Jun 08, at 17:20, Erik Buck wrote:
Set the frame of the NSMatrix.
Use -sizeToFit.
Thank you, Eric. Indeed, using -sizeToFit instead of -sizeToCells
fixes it.
(Did not try your other method since it does not suit my needs.)
_______________________________________________
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