Re: CATextLayer and CAConstraint
Re: CATextLayer and CAConstraint
- Subject: Re: CATextLayer and CAConstraint
- From: Scott Anguish <email@hidden>
- Date: Mon, 19 Nov 2007 04:12:19 -0500
On Nov 18, 2007, at 1:02 PM, Aaron Tait wrote:
Bill, I tried your solution but it did not help. Fortunately
however, I have found a working solution. It looks like the
constraints mess with the sizing and bounds of my CATextLayer making
it only 1 unit in size.
If this is the case, it may be a bug. might be worth reporting
are you notifying the superlayer that it needs to layout its
sublayers when the string changes? I don't believe that simply
changing the string of the textlayer will do that.
CATextLayer does alter its bounds to fit the text exactly when using
constraints. (this is mentioned in the reference)
_______________________________________________
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