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)
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 mails | Author | Date |
|---|---|---|
| Aaron Tait | Nov 18, 09:00 | |
| Bill Dudney | Nov 18, 14:26 | |
| Aaron Tait | Nov 18, 19:02 | |
| Scott Anguish | Nov 19, 10:12 | |
| Paul Arthur Henrio… | Nov 22, 16:53 |






Cocoa mail archive

