Re: CATextLayer not visible when added as a sub-layer . . .
Re: CATextLayer not visible when added as a sub-layer . . .
- Subject: Re: CATextLayer not visible when added as a sub-layer . . .
- From: douglas welton <email@hidden>
- Date: Sun, 28 Dec 2008 15:09:13 -0500
Michael,
Is the geometry of your added CATextLayer correct? When you add the
CATextLayer to the top-layer of your NSView do you see the added layer
in the sublayers array? What's the frame of the added layer?
regards,
douglas
On Dec 28, 2008, at 12:31 AM, Michael A. Crawford wrote:
I've been using multiple layers to create custom displays for my
flight simulator instrumentation. The graphics sub-layers are
displaying just fine but when I add a CATextLayer as sub-layer to
the top-layer of my NSView, I can't see the text. If I make the
CATextLayer the top-layer of the NSView, the text is visible. What
subtle magic incantation am I missing in order to get text-sub-
layers to display?
-Michael
----------------------
The difference between genius and stupidity...
...is that genius has its limits."
-- Albert Einstein
_______________________________________________
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