title: How can I disable horizontal scrolling for an NSScrollView?
body: <p>I first tried disabled the scroll bar by setting:</p>
  
  <pre><code>scrollView!.hasHorizontalScroller = false
  </code></pre>
  
  <p>and that successfully worked, but I could still scroll from left to right by using my trackpad.
  Is there a way to ensure that horizontal scrolling is completely disabled for an NSScrollView object?</p>