Re: Trouble with NSTableViews in macOS 11.x


Shane Stanley
 

On 27 Mar 2021, at 6:46 am, Sak Wathanasin <sw@...> wrote:

What happens is that the table is shifted to the right when running on 11.x.
Try adding this to your code at an appropriate point:

if (@available(macOS 11.0, *)) {
myTableView.style = NSTableViewStyleFullWidth;
}


--
Shane Stanley <sstanley@...>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>

Join {cocoa@apple-dev.groups.io to automatically receive all group messages.