Skip navigation.
 
mlRe: CATextLayer and CAConstraint
FROM : Scott Anguish
DATE : Mon Nov 19 10:12:19 2007

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)

Related mailsAuthorDate
mlCATextLayer and CAConstraint Aaron Tait Nov 18, 09:00
mlRe: CATextLayer and CAConstraint Bill Dudney Nov 18, 14:26
mlRe: CATextLayer and CAConstraint Aaron Tait Nov 18, 19:02
mlRe: CATextLayer and CAConstraint Scott Anguish Nov 19, 10:12
mlRe: CATextLayer and CAConstraint Paul Arthur Henrio… Nov 22, 16:53