• 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
Trouble with NSSplitView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trouble with NSSplitView


  • Subject: Trouble with NSSplitView
  • From: Andre Masse <email@hidden>
  • Date: Tue, 07 Oct 2008 17:41:30 -0400

Hi,

I have set up in IB a window with 3 split views. The main split view (with a vertical divider) contains 2 splits (horizontal divider):

**************************************
*     *              3               *
*  1  ********************************
*     *                              *
*     *                              *
*******              4               *
*     *                              *
*  2  *                              *
**************************************

I'm using an NSViewController subclass (with an associated nib) for each of the views. In the - windowDidLoad: method of my NSWindowController subclass, I set dividers positions and add each view, resizing it according to the size available in each pane. I'm testing this interface so all views contain dummy controls:

1- has only buttons
2- has only a Date picker in calendar form
3- has a multiline text view (with scroller) and 2 buttons.
4- has a NSTableView


At launch, everything is good and I've no problem changing the splitter's position between pane 1 and 2 or with the vertical divider. Now, if I change the splitter's position between pane 3 and 4 all the way up or down and back, the header of the NSTableView and the top of the text view, become hidden (under the divider). I've tried many combinations of resize/lock for these views in IB, played various constants with -setAutoresizingMask:. No luck. Either I'm missing the good one, or I'm in the wrong track. This is driving me nuts, any advice on getting the good combination?


Thanks,

Andre Masse

_______________________________________________

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: Trouble with NSSplitView
      • From: Dave Fernandes <email@hidden>
  • Prev by Date: Cocoaheads Lake Forest (92630) meeting 10/8/2008 at 7 pm on "Parallel Processing with a Core Data Store"
  • Next by Date: Re: defaultCenter's addObserver
  • Previous by thread: Cocoaheads Lake Forest (92630) meeting 10/8/2008 at 7 pm on "Parallel Processing with a Core Data Store"
  • Next by thread: Re: Trouble with NSSplitView
  • Index(es):
    • Date
    • Thread