Re: creating a preference window safari style
Re: creating a preference window safari style
- Subject: Re: creating a preference window safari style
- From: Andrea Salomoni <email@hidden>
- Date: Sat, 4 Feb 2006 12:49:14 +0100
Thank you John for help,
Is your tabView without any tabViewItem?
Because I would like to hide the header of the tabView and put
something like a Toolbar to choose the prefs view.
Do you have some simple code about it?
Thank you for help
Andrea
Il giorno 04/feb/06, alle ore 03:55, John Pannell ha scritto:
Hi Andrea-
These are the steps I took; there may be a couple ways to achieve
the effect...
1. I set up the controller of my preference window to be the
delegate of the tab view that holds the different pref views.
2. I implemented the tabView:didSelectTabViewItem delegate method.
3. In that method, I determined the height of the content view of
the selected tab view item.
4. I then used the window's setFrame:display:animate: to resize
the window using the height of the selected content view plus some
pixels to account for the title bar and margins.
Hope this helps!
John
On Feb 3, 2006, at 5:54 PM, Andrea Salomoni wrote:
Hi to all,
I need to create a simple preference window with a toolbar.
I know how to do it, but I would like to add the window resizing
behavior like in the safari preference win.
How have I to start?
Thank you all
Andrea
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40positivespinmedia.com
This email sent to email@hidden
_______________________________________________
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