• 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
SplitView height...how to change !?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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];
}


  • Prev by Date: Re: Initializing an Array
  • Next by Date: Re: problems with Objective-C++
  • Previous by thread: How to get color sync preferences?
  • Next by thread: Add: What's up with NSTableView?
  • Index(es):
    • Date
    • Thread