I have an scrolling NSTableView that has an isFlipped MTKView as the parent. No matter how I set the growth constraints, frame.y (which seems to offset from bottom left still) or adjust the height, I can't get a gap from the top. I have a hud that this then clobbers over. I want to offset from the top-left so this doesn't happen. What is the magic to do this?
NSTableView doesn't gap vertically from top
This seemed to work. I still don't see why the storyboard settings don't apply to control this.
- (void)awakeFromNib
{
[super awakeFromNib];
// vertical offset of table down so hud can display info
NSScrollView* scrollView = [_tableView enclosingScrollView];
CGRect rect = scrollView.frame;
rect.origin.y += 50;
scrollView.frame = rect;
}