• 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: NSViews not displayed properly when the window is resized
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSViews not displayed properly when the window is resized


  • Subject: Re: NSViews not displayed properly when the window is resized
  • From: Chris Hanson <email@hidden>
  • Date: Sun, 26 Nov 2006 00:05:03 -0800

On Nov 25, 2006, at 6:29 AM, vibhatha v wrote:

i used [fixedView replaceSubview:[subviews objectAtIndex:0] with:view1]; to
replace the different views.

[snip]

Can anyone please help me place my different views in proper positions so as
to fit the screen?

Your best bet is to, instead of replacing the views, put all of the views in an invisible tab view -- an NSTabView whose border and tabs you've turned off -- and then just have your code switch between the tabs.


You can either set this up programmatically or in Interface Builder.

  -- Chris

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSViews not displayed properly when the window is resized (From: "vibhatha v" <email@hidden>)

  • Prev by Date: Re: Cocoa objects in Quartz Composer
  • Next by Date: Re: Debugging an ignored exception
  • Previous by thread: Re: NSViews not displayed properly when the window is resized
  • Next by thread: Debugging an ignored exception
  • Index(es):
    • Date
    • Thread