I'm writing a Cocoa app and I've got a prefences window that looks
like the System Prefences. I.e. I use a NSTabView and NSToolbar. I'm
trying to get the full effect but can't seem to get the window to
resize properly. I basically have two problems:
1) I can't figure out the exact height I should resize to. If I use a
NSBox then it doesn't include the height of the toolbar.
2) When I do resize the window to a smaller size it seems to chop off
from the top. So all my control elements aren't visible.