I'm trying to create an NSSearchField programmatically; however, I don't know how to find the frame height of a standard NSSearchField (a la those in Interface Builder.) Obviously, I could simply copy the height from an NSSearchField entity in IB and call NSMakeFrame with that height, but that feels hackish - what happens when Apple changes the height of a typical search field? I'd rather the height not be hardcoded into my application. This is more of a "best practices" question, not an "I can't get it to work at all" one.
Thanks!