Skip navigation.
 
mlCTFrame and drawing text + layers.
FROM : John Clayton
DATE : Mon Nov 19 18:39:19 2007

Hi

I want to stop the CATextLayer from adjusting the boundaries of my 
text when I've got text wrapping turned on and the parent layer has a 
layout manager attached to it.  I'd like the CATextLayer simply to use 
the boundaries that I provide it.

The docs state:
Note: When a CATextLayer instance is positioned using the 
CAConstraintLayoutManager Class Reference the bounds of the object is 
resized to fit the text content.

Is there a way of forcing it NOT to do this somehow?  Something I can 
override perhaps?

--
John Clayton
http://www.coderage-software.com/

Related mailsAuthorDate
mlCTFrame and drawing text + layers. John Clayton Nov 19, 18:39
mlRe: CTFrame and drawing text + layers. John Harper Nov 19, 19:49
mlRe: CTFrame and drawing text + layers. John Clayton Nov 20, 10:26