Re: Superimpose a NSTextField over NSImageView?
Re: Superimpose a NSTextField over NSImageView?
- Subject: Re: Superimpose a NSTextField over NSImageView?
- From: Andy Lee <email@hidden>
- Date: Sun, 23 Apr 2006 15:59:28 -0400
On Apr 23, 2006, at 3:23 PM, desktoast music productions wrote:
Here is what I do:
- In IB I create a custom view of size 507 x 320
- I put a NSImageView with of the same size on it.
- I set the image view's image to my splash image (.psd file, 507 x
320 as
well)
- I put a NSTextField (miniSystemFont, blue textcolor, draws no
background)
onto the image view.
Ah, I see how this is different from what I tried (I too thought it
was working as expected in IB). When I tried it, I didn't have the
custom view; I just dropped the views into a window. It looks like
when you drop views into a custom view, their display order is
reversed. Try dropping in the text field first, then the image view.
I put a screenshot of my splash online at:
http://www.autlawmusic.com/cocoa/WDVSplash.html
Just to give you an idea of what I'm doing here.
I can't tell what the problem is from this screenshot. The stuff in
the lower left corner looks okay to me, except the text isn't blue.
I can't tell that there is a problem with background color.
--Andy
_______________________________________________
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