Re: creating a preference window safari style
Re: creating a preference window safari style
- Subject: Re: creating a preference window safari style
- From: John Pannell <email@hidden>
- Date: Fri, 3 Feb 2006 19:55:08 -0700
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