• 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
Re: splitter subviews resize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: splitter subviews resize


  • Subject: Re: splitter subviews resize
  • From: Scott Stevenson <email@hidden>
  • Date: Mon, 2 May 2005 20:55:25 -0700


On May 1, 2005, at 5:41 PM, Luc Vandal wrote:

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?

A lot of people are using RBSplitView instead of NSSplitView nowadays: http://www.brockerhoff.net/src/rbs.html


- Scott _______________________________________________ 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
References: 
 >splitter subviews resize (From: Luc Vandal <email@hidden>)

  • Prev by Date: Re: Programatically adding small checkboxes
  • Next by Date: Re: Programatically adding small checkboxes
  • Previous by thread: splitter subviews resize
  • Next by thread: Some more debugging questions...
  • Index(es):
    • Date
    • Thread