Re: dynamic GUI, how to?
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