• 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: NSView positioning problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSView positioning problems


  • Subject: Re: NSView positioning problems
  • From: Andy Lee <email@hidden>
  • Date: Sun, 16 Nov 2008 15:16:57 -0500

On Nov 16, 2008, at 2:41 PM, Quincey Morris wrote:
There's not quite enough information here to be certain what's going on, but in a sense it shouldn't matter *when* you do the replacement, as long as it's an *exact* replacement at the time when you do it. In particular, that means:

-- setting the OutputToolbarView's frame to DummyToolbarView's frame just before you add it to OutputView's subviews

-- making sure that OutputToolbarView's autoresize flags are identical to DummyToolbarView's autoresize flags, which have presumably been set up in IB to get the resizing behavior your want.

Does -[NSView replaceSubview:with:] take care of these?

--Andy

_______________________________________________

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


  • Follow-Ups:
    • Re: NSView positioning problems
      • From: Quincey Morris <email@hidden>
References: 
 >NSView positioning problems (From: Andre Masse <email@hidden>)
 >Re: NSView positioning problems (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: NSArrayController bound to an array of strings
  • Next by Date: Re: Core data save error with multiple persistent stores
  • Previous by thread: Re: NSView positioning problems
  • Next by thread: Re: NSView positioning problems
  • Index(es):
    • Date
    • Thread