       customToolbar.autoPinEdge(toSuperviewEdge: .top, withInset: 2)
       customToolbar.autoPinEdge(.right, to: .left, of: cog, withOffset: 5 - InnerToolBar.separatorThickness)
       customToolbar.autoPinEdge(toSuperviewEdge: .bottom, withInset: 2 + InnerToolBar.separatorThickness)
-      customToolbar.autoPinEdge(toSuperviewEdge: .left, withInset: 2)
+      customToolbar.autoPinEdge(.left, to: .right, of: title, withOffset: 2)
     }
   }
 

  let customMenuItems: [NSMenuItem]
  var customToolbar: NSView?

  var tool: WorkspaceTool?

  override var intrinsicContentSize: CGSize {
    if #available(macOS 10.11, *) {

    fatalError("init(coder:) has not been implemented")
  }

  fileprivate let titleField = NSTextField(forAutoLayout:())
  fileprivate let closeButton = NSButton(forAutoLayout:())
  fileprivate let cogButton = NSPopUpButton(forAutoLayout:())

