SplitView height...how to change !?
SplitView height...how to change !?
- Subject: SplitView height...how to change !?
- From: Gore <email@hidden>
- Date: Tue, 22 Jan 2002 13:28:52 +0200
I would ike to change the splitview seperator bar...I've been trying
many solutions but nothing works ! this is my latest and it doesn't
work, why?!?!?
- (void)setSpliterFloat:(float)val
{
NSRect splitFrame = [splitView frame];
NSRect view1Frame = [mainList frame];
NSRect view2Frame = [noteTextView frame];
view1Frame.size.height -= val;
view2Frame.size.height = val;
[mainList setFrame: view1Frame];
[noteTextView setFrame: view2Frame];
[mainList setNeedsDisplay: YES];
[noteTextView setNeedsDisplay: YES];
[splitView setNeedsDisplay: YES];
}