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

Forcing NSSplitView to constrain position?


  • Subject: Forcing NSSplitView to constrain position?
  • From: Nick Zitzmann <email@hidden>
  • Date: Wed, 23 Jun 2004 17:24:57 -0600

I checked the archives and didn't see an answer to my question...

I have an NSSplitView. The split view has a delegate object that sets a constraint on the size of the split view by implementing NSSplitView's -splitView:constrainSplitPosition:obSubviewAt: delegate method. I want the split view to be constrained to a very specific position. But the delegate method that returns the constraint is never called unless the user clicks on the split view divider, and so far the only method I've found of getting the constraint to take effect is to click on that divider.

Is there any way to force the split view to comply with its constraint programmatically, and if there is, how do I do it? I already tried calling -adjustSubviews and nothing happened. The constraint also seems to be ignored when the split view is resized.

Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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.


  • Follow-Ups:
    • Re: Forcing NSSplitView to constrain position?
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: Re: starting an app with execve()
  • Next by Date: Re: ATSUI, AAT and OpenType
  • Previous by thread: Re: How to implement a ProjectBuilder's tabview?
  • Next by thread: Re: Forcing NSSplitView to constrain position?
  • Index(es):
    • Date
    • Thread