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

Re: NSSplitView query


  • Subject: Re: NSSplitView query
  • From: Timothy Larkin <email@hidden>
  • Date: Thu, 17 Oct 2002 12:57:34 -0400

On Thursday, October 17, 2002, at 07:22 AM, Terry Smyth wrote:

(ie the subviews are resized proportionally - which is what I would expect, but not what I want).

This can be done, I think, with the split view delegate method: - (void)splitView:(NSSplitView *)sender resizeSubviewsWithOldSize:(NSSize)oldSize

From this you can get the split's new size, and its old size. Assuming you have outlets to all the panes involved, you can resize them as you fancy by resizing their frames manually.
--
Timothy Larkin
Abstract Tools
Caroline, NY
_______________________________________________
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: 
 >NSSplitView query (From: Terry Smyth <email@hidden>)

  • Prev by Date: RE: Mouse Event Handling
  • Next by Date: Re: Table View and Tool Tips
  • Previous by thread: Re: NSSplitView query
  • Next by thread: Re:NSSplitView query
  • Index(es):
    • Date
    • Thread