• 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: splitview sizing question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: splitview sizing question


  • Subject: Re: splitview sizing question
  • From: Tim Hewett <email@hidden>
  • Date: Sat, 16 Aug 2003 22:59:31 +0100

Matthew,

Check out the NSSplitView delegate method
- (void)splitView:(NSSplitView *)sender resizeSubviewsWithOldSize:(NSSize)oldSize
method. You will have to manage the frame size of the split
view's subviews manually dependent on the information
given when this method gets called, which is while the window
is being resized. In your case you can leave the left subview
well alone and change the right one to fill the gap.

Tim.

On Saturday, Aug 16, 2003, at 15:37 Europe/London, email@hidden wrote:

Dear cocoa list;

Solved the rtfd question (Dear apple, given how easy you tout rtfd
capabilities, it might be nice to have a HOWTO page on the additional
methods needed in an NSDocument to support rtfd; it was easy, but not
well documented).

Now I have a question which I hope is easy. I have a vertical
splitview. It fills a tabview in a window. When I resize the window,
the splitter moves so that the pane is cut proportionately. I would
like resizing the window only to resize the right pane of the
splitview, leaving the split bar in place relative to the window's
left edge. Is there some IB sizing option to allow that?

Matthew
--
Matthew Weinstein
Associate Professor of Science Education
Kent State University
_______________________________________________
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.

  • Prev by Date: Re: Uninstaller Howto?
  • Next by Date: Re: Override a Finder command
  • Previous by thread: Re: splitview sizing question
  • Next by thread: Re: Using methods that retain..
  • Index(es):
    • Date
    • Thread