CTFrame and drawing text + layers.
CTFrame and drawing text + layers.
- Subject: CTFrame and drawing text + layers.
- From: John Clayton <email@hidden>
- Date: Mon, 19 Nov 2007 18:39:19 +0100
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/
_______________________________________________
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