• 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: Forcing NSSplitView to constrain position?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Forcing NSSplitView to constrain position?


  • Subject: Re: Forcing NSSplitView to constrain position?
  • From: Stéphane Sudre <email@hidden>
  • Date: Thu, 24 Jun 2004 17:03:14 +0200

On Jun 24, 2004, at 4:45 PM, Mike Ferris wrote:

Unfortunately NSSplitView does not deal with constraints very well. As
has been noted, when the split view itself changes size (because of
window resizing or nested splits, or whatever) the constraints won't be
consulted. By taking over splitView:resizeSubviewsWithOldSize: it is
possible to at least partially overcome this first problem. Also,
NSSplitView provides no API for programmatically moving the splits
(besides making carefully synchronized changes to the actual frames of
the subviews).

The biggest issue I've seen when doing this (moving the split with code) is a refresh issue.

One has to ask for the update of the splitview and the view within it IIRC.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Forcing NSSplitView to constrain position? (From: Nick Zitzmann <email@hidden>)
 >Re: Forcing NSSplitView to constrain position? (From: Andreas Mayer <email@hidden>)
 >Re: Forcing NSSplitView to constrain position? (From: Mike Ferris <email@hidden>)

  • Prev by Date: Re: multiple windowcontrollers
  • Next by Date: Re: Resizing a Window
  • Previous by thread: Re: Forcing NSSplitView to constrain position?
  • Next by thread: [SOLVED] Re: Forcing NSSplitView to constrain position?
  • Index(es):
    • Date
    • Thread