• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Superimpose a NSTextField over NSImageView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Superimpose a NSTextField over NSImageView? (From: desktoast music productions <email@hidden>)

  • Prev by Date: Re: Superimpose a NSTextField over NSImageView?
  • Next by Date: Re: Animated split view collapsing
  • Previous by thread: Re: Superimpose a NSTextField over NSImageView?
  • Next by thread: Re: Superimpose a NSTextField over NSImageView?
  • Index(es):
    • Date
    • Thread