Re: Resizing NSScrollView/NSClipView to fit NSTableView width

2016-08-19 Thread Quincey Morris
On Aug 16, 2016, at 01:13 , studfed studfed wrote: > > The problem is that table view is clipped by scroll view (what I mean is that > last several columns are visible only if you scroll to the right, but I would > like to have these last columns be visible without scrollers involved, so all >

Re: Resizing NSScrollView/NSClipView to fit NSTableView width

2016-08-15 Thread Quincey Morris
On Aug 15, 2016, at 10:22 , studfed studfed wrote: > > I am not sure if it is the right way to prevent table clipping. > Are there any other options to accomplish this or this one is correct also > ? No, this is not really the right way. You should not be setting frames directly in an auto-layo

Resizing NSScrollView/NSClipView to fit NSTableView width

2016-08-15 Thread studfed studfed
Hi, I have added NSTableView to xib (which adds scrollview and clipview by default), without columns. Columns are generated programmatically with width based on header cell size. Autolayout is enabled and constraints are defined in IB like | -20-|[scrollview]-20-| It looks like Window