• 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 vertical setup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSplitView vertical setup


  • Subject: Re: NSSplitView vertical setup
  • From: Ryan Stevens <email@hidden>
  • Date: Wed, 23 Oct 2002 11:14:23 -0700

On Wednesday, October 23, 2002, at 10:53 AM, Alan Nilsson wrote:

I have an NSPlitView that I am using to display 2 NSOutlineViews. I want
the outlines side by side in lieu of on top of each other.

I have included the following two lines in the awakeFromNib delegate method:

[splitView setVertical:YES];
[splitView setNeedsDisplay:YES];

Now this works correctly in setting the split view as vertical. However,
the bar between the two outlines does not show the the window background
until the bar is dragged or the window is resized. It shows up as just
white.

Should I be refreshing the window someplace else to get the bar to draw
correctly?

[splitView setVertical:YES];
[splitView adjustSubviews]; // <--
[splitView setNeedsDisplay:YES];

HTH!
_______________________________________________
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 vertical setup (From: Alan Nilsson <email@hidden>)

  • Prev by Date: Re: plist permissions
  • Next by Date: Re: [ANN] Path Finder 2.0
  • Previous by thread: NSSplitView vertical setup
  • Next by thread: Oracle & ObjC/Cocoa
  • Index(es):
    • Date
    • Thread