My window is structured like so: NSWindow -> NSView -> NSTabView -> NSScrollView -> NSTextView. If I change the size of the NSScrollView with setFrameSize: the superviews / window do not resize to accommodate my larger or smaller NSScrollView. Is it possible to programmatically have the Window, etc. automatically resize when I set the size of a subview or do I need to somehow calculate the size of all the UI components and resize the window itself? Thanks in advance for any assistance or direction.
+1
A:
There is no built-in way to do this. You'll have to compute the sizes yourself. Assuming all the views in your hierarchy are set to auto-resize properly, you could just change the window's frame and let auto-resizing do its job.
Joshua Nozzi
2010-07-20 19:01:32
Thanks Joshua. Now at least I can stop searching for these non-existant methods. :)
stdout
2010-07-21 11:45:05