title: NSGridView difficulties
body: <p>I'm using an <code>NSGridView</code> in the settings panel for my macOS app. I set it up like this:</p>
  
  <pre><code>class GeneralViewController: RootViewController {
      private var gridView: NSGridView?
  
      override func loadView() {
          super.loadView()
  
          let restaurantLabel = NSTextField()
          restaurantLabel.stringValue = "Restaurant"
  
          let restaurantButton = NSPopUpButton()
          restaurantButton.addItems(withTitles: ["A", "B", "C"])
  
          let updatesLabel = NSTextField()
          updatesLabel.stringValue = "Updates"
          updatesLabel.isEditable = false
          updatesLabel.isBordered = false
          updatesLabel.isBezeled = false
  
          let updatesButton = NSButton(checkboxWithTitle: "Automatically pull in updates from WordPress", target: nil, action: nil)
  
          let empty = NSGridCell.emptyContentView
          gridView = NSGridView(views: [
              [restaurantLabel, restaurantButton],
              [updatesLabel, updatesButton]
              ])
          gridView?.wantsLayer = true
          gridView?.layer?.backgroundColor = NSColor.red.cgColor
          gridView?.column(at: 0).xPlacement = .trailing
          gridView?.rowAlignment = .firstBaseline
          gridView?.setContentHuggingPriority(NSLayoutConstraint.Priority(rawValue: 600), for: .horizontal)
          gridView?.setContentHuggingPriority(NSLayoutConstraint.Priority(rawValue: 600), for: .vertical)
  
          view.addSubview(gridView!)
      }
  
      override func viewDidLayout() {
          super.viewDidLayout()
  
          gridView?.frame = NSRect(x: 0, y: 0, width: view.frame.size.width, height: view.frame.size.height)
      }
  }
  </code></pre>
  
  <p>Now, when I run this, the <code>NSGridView</code> fills up the whole view, but the checkbox is really off. As you can see in the image. </p>
  
  <p>Also, I'd love for the content to not fill the whole cell, making it all look a tad more centered.</p>
  
  <p>How can I solve this?</p>
  
  <p><a href="https://i.stack.imgur.com/fD2sJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fD2sJ.png" alt="enter image description here"></a></p>