• 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
Streching subviews to fit in a SpilitView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Streching subviews to fit in a SpilitView


  • Subject: Streching subviews to fit in a SpilitView
  • From: "Devraj Mukherjee" <email@hidden>
  • Date: Sun, 24 Aug 2008 21:14:44 +1000

Hi all,

My application's user interface revolves around a NSSplitView and I
plan to load subviews in one part of the split view for the user to
interact (the second half of the split view acting as the navigation,
much like iTunes). I have a custom view (with a search box and a list)
which I am able to load using the addSubView message (to one view in
the NSSplitView).

I have set all the View options properly to fill the space in
Interface Builder but when my custom view loads its doesn't strech to
fill part of the NSSplitView. How do I do this? Can I do it using
Interface Builder or am I supposed to write code to respond to size
change events for the Window and change the size of the Custom View
accordingly?

Thanks for any hints.

--
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

  • Prev by Date: Core data entity creation design
  • Next by Date: Re: Reading from Streams - Convenience methods
  • Previous by thread: Re: Core data entity creation design
  • Next by thread: Re: Reading from Streams - Convenience methods
  • Index(es):
    • Date
    • Thread