Re: Overlapping Views
Re: Overlapping Views
- Subject: Re: Overlapping Views
- From: Uli Kusterer <email@hidden>
- Date: Sat, 24 Nov 2007 11:25:45 +0100
Am 23.11.2007 um 18:16 schrieb Ricky Sharp:
Drag in a custom view which will serve as your background view. IB
knows that custom views are contain views and thus you can put
anything you want inside. Subclass NSView and specify that class
for your custom view. It's drawRect: will draw whatever image you
want.
IIRC you can actually put subviews in an NSImageView, IB just
doesn't let you. Try setting the custom view's class to NSImageView
and set it up in code.
And in any way, file a bug with Apple. The image view *should*
really allow subviews.
Cheers,
-- M. Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden