Re: Superimpose a NSTextField over NSImageView?
Re: Superimpose a NSTextField over NSImageView?
- Subject: Re: Superimpose a NSTextField over NSImageView?
- From: "M. Uli Kusterer" <email@hidden>
- Date: Mon, 24 Apr 2006 17:10:58 +0200
In your particular case, there may be another solution:
Create your window *without* the image. Then, once you have that, create an
NSColor from your image and set that as the window's background color. That
should ensure your image is drawn correctly under the text field.
I'm doing this with a metal window in one of my apps. Haven't tried it with
an Aqua window yet, and not in a splash screen, but might work.
Both solutions seem rather inelegant to me, though...
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden