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

Re: Trouble with NSSplitView


  • Subject: Re: Trouble with NSSplitView
  • From: Dave Fernandes <email@hidden>
  • Date: Tue, 7 Oct 2008 19:44:30 -0400

I had the same problem. The fix was to recreate the view in IB. Seems to be a bug in IB, but I never tried to repeat the problem once it was fixed.

Dave

On Oct 7, 2008, at 5:41 PM, Andre Masse wrote:

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:
40utoronto.ca


This email sent to email@hidden

_______________________________________________

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: Jonathan Hess <email@hidden>
    • Re: Trouble with NSSplitView
      • From: Andre Masse <email@hidden>
References: 
 >Trouble with NSSplitView (From: Andre Masse <email@hidden>)

  • Prev by Date: Re: How can I access full source of a WebView
  • Next by Date: Re: How can I access full source of a WebView
  • Previous by thread: Trouble with NSSplitView
  • Next by thread: Re: Trouble with NSSplitView
  • Index(es):
    • Date
    • Thread