NSSplitView vertical setup
NSSplitView vertical setup
- Subject: NSSplitView vertical setup
- From: Alan Nilsson <email@hidden>
- Date: Wed, 23 Oct 2002 10:53:46 -0700
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?
Alan
_______________________________________________
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.