• 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: simple CATextLayer scaling problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simple CATextLayer scaling problem


  • Subject: Re: simple CATextLayer scaling problem
  • From: "Julian." <email@hidden>
  • Date: Mon, 10 May 2010 10:25:36 +0200

Have to say, that i'm new to cocoa and even newer to core animation. i have tried so far, bit trail&errorly: CAConstraint,  autoresizingMask, preferredFrameSize and googled for the problem. I know, newbie questions suck :)

lg, Julian.


Am 10.05.2010 um 04:33 schrieb Kyle Sluder:

> On May 9, 2010, at 2:44 AM, "Julian." <email@hidden> wrote:
>
>> I'm having a simple scaling problem with CATextLayer, but i just couldn't figure it out:
>> I want the CATextLayer to proportionally grow in size with it's superlayer:
>> if the superlayer's width is 300 the text size of CATextLayer should be 12 and if the supeview's width is 600 the text size should be 24.
>> I couldn't find a working solution!
>>
>
> What have you tried so far, and how has it failed you?
>
> http://www.whathaveyoutried.com
>
> --Kyle Sluder

_______________________________________________

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

  • Follow-Ups:
    • Re: simple CATextLayer scaling problem
      • From: douglas welton <email@hidden>
References: 
 >simple CATextLayer scaling problem (From: "Julian." <email@hidden>)
 >Re: simple CATextLayer scaling problem (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Utility/Floating window with titlebar on left side
  • Next by Date: Re: How do you set the text in an NSTextView?
  • Previous by thread: Re: simple CATextLayer scaling problem
  • Next by thread: Re: simple CATextLayer scaling problem
  • Index(es):
    • Date
    • Thread