• 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: Overlapping Views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Overlapping Views (From: David Alger <email@hidden>)
 >Re: Overlapping Views (From: Jon Hess <email@hidden>)
 >Re: Overlapping Views (From: Alastair Houghton <email@hidden>)
 >Re: Overlapping Views (From: David Alger <email@hidden>)
 >Re: Overlapping Views (From: Ricky Sharp <email@hidden>)

  • Prev by Date: NSTableView apparently doesn’t respect allowsEmptySelection:NO anymore on Leopard
  • Next by Date: Re: Overlapping Views
  • Previous by thread: Re: Overlapping Views
  • Next by thread: Re: Overlapping Views
  • Index(es):
    • Date
    • Thread