• 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: Custom view background texture/color
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom view background texture/color


  • Subject: Re: Custom view background texture/color
  • From: Erik Buck <email@hidden>
  • Date: Sun, 24 Sep 2006 18:53:12 -0400

Hello and thanks for your reply!

I will check that doc out, but one thing I am trying to do now
doesn't seem to work. In my XCode project, I added a PNG image, and
then dragged it onto the Interface Builder. I can add this image to
my GUI and it will work well, however, if I set this image back
(Layout -> Bring to back), it appears as a background image in the
Interface Builder with all GUI elements on top, but in the actual
application this image covers all GUI elements (i.e. all you can see
in the GUI is this image).

Is it possible to simply make a custom background image for the GUI
right from the Interface Builder?

Regarding the view ordering, that is a FAQ. The order of drawing for Sibling view is not defined.
Here is one of about 1000 hits from a search of the archive <http:// www.cocoabuilder.com/archive/message/cocoa/2006/8/4/169010>.


Yes, it is possible to place controls above an image in IB. Just make the controls sub-views of the image view that shows the image. One easy way to do that without code is to make all of your controls sub-views of a custom view via IB's Layout->Make Views Subviews of- >Custom View menu. Then set the class of the custom view to NSImageView.


_______________________________________________ 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
  • Follow-Ups:
    • Re: Custom view background texture/color
      • From: Artemiy Pavlov <email@hidden>
  • Prev by Date: Re: Re: Obtain computer model
  • Next by Date: Re: Detecting a focus change in a window?
  • Previous by thread: Re: Custom view background texture/color
  • Next by thread: Re: Custom view background texture/color
  • Index(es):
    • Date
    • Thread