splitter subviews resize
splitter subviews resize
- Subject: splitter subviews resize
- From: Luc Vandal <email@hidden>
- Date: Sun, 01 May 2005 20:41:25 -0400
Hi!
I can't seem to resize subviews in a NSSplitter. It has 2 views and one of them has 2 views. Here's my code:
NSArray* aViews = [splitter subviews];
NSArray* aSubViews = [[aViews objectAtIndex:0] subviews];
//Resize views
[[aSubViews objectAtIndex:0] setFrameSize:rTreeView.size];
[[aSubViews objectAtIndex:1] setFrameSize:rMainView.size];
[[aViews objectAtIndex:1] setFrameSize:rStatusView.size];
It doesn't do anything so I guess that is not the proper way to resize views?
Thanks!
Luc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden