I solved this. With setAutoresizingMask: I can prevent the scrollview
containing the tableview to grow with the window frame. Posting my
solution for the sake of people that might have similar issues in the
future.
NSRect bounds = [infoView bounds];
NSRect frame = [[searchWi
Consider using NSDrawer. It can contain a content view (i.e. your info
view) and can be attached to any side of a parent window, and be shown
or hidden.
If you don't want to use this, however, just grab the content view's
frame,
NSRect r = [[window contentView] frame]
and then call:
[[w
Hello,
I'm trying to do something simple, I have a NSWindow containing a
NSTableView that resizes with the with the window. When I click on one
element I want to display additional information in a subView that I'm
adding with [[theWindow contentView] addSubview:infoView];
The problem is wh