• 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: Rendering a fixed-width text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rendering a fixed-width text


  • Subject: Re: Rendering a fixed-width text
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 1 Jul 2009 19:13:31 -0700

On Tue, Jun 30, 2009 at 7:52 AM, Riccardo
Canalicchio<email@hidden> wrote:
> I'm developing an application for MacOSX, based on Core Animation.
> I would like to know the best way to render a fixed-width text paragraph
> inside a CALayer. I already tried with CATextLayer, which indeed gave me a
> fixed-width text but I wasn't able to make height automatically adjust
> accordingly to the number of lines in the paragraph.

A quick Google search for "automatically resize CATextLayer" turned up
this: http://www.cocoabuilder.com/archive/message/cocoa/2007/12/5/194497

--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

References: 
 >Rendering a fixed-width text (From: Riccardo Canalicchio <email@hidden>)

  • Prev by Date: Re: Drawing the background of a single row in NSTableView
  • Next by Date: Re: Basic KVO question
  • Previous by thread: Re: Rendering a fixed-width text
  • Next by thread: Where to post
  • Index(es):
    • Date
    • Thread