Re: NSSplitView vertical setup
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.