Re: Toolbar and window resizing
Re: Toolbar and window resizing
- Subject: Re: Toolbar and window resizing
- From: Michael McCracken <email@hidden>
- Date: Sat, 8 Jun 2002 22:15:07 -0700
Take a look at OAPreferenceController.[h,m] in the OmniAppKit, available
at:
http://www.omnigroup.com/developer/sourcecode/
They've implemented a system preferences-style resizing window that
looks good.
In fact, if you're doing this in order to have a preferences window, I'd
suggest just using their framework outright.
Hope this helps,
-Mike
OK I've got a window set up with an NSToolbar, which works fine.
I have it so that when you click on an item in the toolbar, it
resizes the window (like the System Preferences) and then
changes the window's contents to another view (NSView). But,
when I resize the window, i have to add 55 (height of toolbar)
to the new view's height or if I don't, the window's contents
will be partly hidden under the Toolbar. I've included a pic of
what it looks like for clarity.
could somebody help me fix this? it's really annoying. it works
when i add 55, but when i change the toolbar to anything else
besides the icon and text, it gets mis aligned.
kevin
--
Michael McCracken
email@hidden
http://radio.weblogs.com/0101358
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.