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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to