• 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: CATextLayer and CAConstraint
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >CATextLayer and CAConstraint (From: Aaron Tait <email@hidden>)
 >Re: CATextLayer and CAConstraint (From: Bill Dudney <email@hidden>)
 >Re: CATextLayer and CAConstraint (From: Aaron Tait <email@hidden>)

  • Prev by Date: Re: Programatically creating a checkbox
  • Next by Date: Source list with counter next to item title
  • Previous by thread: Re: CATextLayer and CAConstraint
  • Next by thread: Re: CATextLayer and CAConstraint
  • Index(es):
    • Date
    • Thread