If I access the cell-based table view (NSTableView) through the storyboard, I find a property named controlSize under the size inspector. If I select 'large' from the drop-down menu, I will have a large font size in the list. That's great. But how do I do it programmatically? If I try the following, the font size won't change.
@IBOutlet weak var tableView: NSTableView!
@IBAction func testClicked(_ sender: NSButton) {
tableView.rowSizeStyle = .large
tableView.controlSize = .large
}
Thanks.
