     fatalError("init(coder:) has not been implemented")
   }
 
+  fileprivate let titleField = NSTextField(forAutoLayout:())
   fileprivate let closeButton = NSButton(forAutoLayout:())
   fileprivate let cogButton = NSPopUpButton(forAutoLayout:())
 

  }

  fileprivate func addViews() {
    let close = self.closeButton
    let cog = self.cogButton

    let closeIcon = NSImage.fontAwesomeIcon(code: "fa-times-circle",
                                            textColor: .darkGray,

    if let customToolbar = self.customToolbar {
      self.addSubview(customToolbar)
    }
    self.addSubview(title)
    self.addSubview(close)
    self.addSubview(cog)

    title.autoAlignAxis(toSuperviewAxis: .horizontal)
    title.autoPinEdge(toSuperviewEdge: .left, withInset: 4)

    close.autoPinEdge(toSuperviewEdge: .top, withInset: 2)
    close.autoPinEdge(toSuperviewEdge: .right, withInset: 2)
