Re: Superimpose a NSTextField over NSImageView?
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