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

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

  • Follow-Ups:
    • Re: splitter subviews resize
      • From: Scott Stevenson <email@hidden>
  • Prev by Date: overriding allowsAnyHTTPSCertificateForHost
  • Next by Date: Some more debugging questions...
  • Previous by thread: overriding allowsAnyHTTPSCertificateForHost
  • Next by thread: Re: splitter subviews resize
  • Index(es):
    • Date
    • Thread