• 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: dynamic GUI, how to?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dynamic GUI, how to?


  • Subject: Re: dynamic GUI, how to?
  • From: Scott Ellsworth <email@hidden>
  • Date: Tue, 13 Jun 2006 12:19:02 -0700


On Jun 13, 2006, at 11:58 AM, Peter Lau wrote:

Since I have quite of number of categories, I don't think I want to layout everything in one nib window and write a lot of show and hide calls depends on which category is chosen.

Perhaps an NSTabView? If you tell it to not display the actual tabs, then select the tab using a different widget, you should be able to get something like the xcode prefs. (The inspector in IB for the tab view as a whole, rather than any of its items, has this option as a radio button.)


And I don't want to do a once size fit all approach. So, each pane from each category will need to resize the window to make it looks best.

It looks like there is a "tabView:shouldSelectTabViewItem:" delegate message sent, so perhaps you could intercept the call there and resize the window as appropriate for the new tab view item.


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: 
 >dynamic GUI, how to? (From: Peter Lau <email@hidden>)

  • Prev by Date: dynamic GUI, how to?
  • Next by Date: Re: Changing fonts without font menu?
  • Previous by thread: dynamic GUI, how to?
  • Next by thread: Re: dynamic GUI, how to?
  • Index(es):
    • Date
    • Thread