• 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: Split Views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Split Views


  • Subject: Re: Split Views
  • From: Andy Lee <email@hidden>
  • Date: Sat, 27 Mar 2004 00:13:25 -0500

On Mar 26, 2004, at 11:56 PM, Seth Willits wrote:
Anyway, this question is: How do you use NSSplitView? Is it like a groupbox type of thing where I put all of the views I want to split on top of it and it figures out where to draw the thumbs, or is it the thumb/pane itself? I tried adding a custom view and changing the class to a NSSplitView in the nib but that didn't work. I see that there's a "Make View Subclass of / Split View" menu item, but I can't seem to ever get it enabled.

Do you mean the "Make subviews of" menu item? That's the simplest way to introduce a splitview into your nib. The menu item should become enabled if you select two or more views in a window. What it does is, it creates a new splitview with the selected views as subviews. *That's* when it figures out where to put the thumb, depending on whether the views you chose were aligned vertically or side by side.

If you want to control the resizing behavior of the subviews, be sure to look though NSSplitView's numerous delegate methods.

--Andy
_______________________________________________
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: Split Views
      • From: Seth Willits <email@hidden>
    • Re: Split Views
      • From: Seth Willits <email@hidden>
References: 
 >Split Views (From: Seth Willits <email@hidden>)

  • Prev by Date: Split Views
  • Next by Date: Re: Split Views
  • Previous by thread: Split Views
  • Next by thread: Re: Split Views
  • Index(es):
    • Date
    • Thread