• 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: Erik Buck <email@hidden>
  • Date: Sun, 23 Apr 2006 18:56:29 -0400

I just did this in Interface Builder:

1) Start Interface Builder
2) Select File->New... menu item
3) In "Starting Point" dialog that appears, Select "Window" and press the button labeled "New".
4) Drag text fields, progress bars, and any other controls of interest from Interface Builder's palette to the editable window that IB provides.
5) Arrange the configure controls as desired.
6) Select all of the controls.
7) Use Layout->Make subviews of->Custom View
8) Select the custom view.
9) Use IB's custom calls inspector (Cmd-5) to set the class of the custom view to NSImageView or any other kind of view you like.
10) Use the outline mode of IB's inspector's Instances tab to verify that the view hierarchy was created as desired.


Use this technique to create whatever view hierarchy you want from now on and always remember that sibling views should not overlap.


_______________________________________________ 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: Superimpose a NSTextField over NSImageView? [SOLVED]
      • From: desktoast music productions <email@hidden>
  • Prev by Date: Re: Keys of the kingdom
  • Next by Date: Re: Should Cocoa Apps have splash screens at all ?
  • Previous by thread: Re: Superimpose a NSTextField over NSImageView?
  • Next by thread: Re: Superimpose a NSTextField over NSImageView? [SOLVED]
  • Index(es):
    • Date
    • Thread