     close.autoPinEdge(toSuperviewEdge: .left, withInset: self.theme.tabHorizontalPadding)
     close.autoAlignAxis(toSuperviewAxis: .horizontal)
 
-    icon.autoSetDimensions(to: self.theme.iconDimension)
-    icon.autoPinEdge(.left, to: .right, of: close, withOffset: self.theme.tabHorizontalPadding)
-    icon.autoAlignAxis(toSuperviewAxis: .horizontal)
-
-    title.autoPinEdge(.left, to: .right, of: icon, withOffset: self.theme.tabHorizontalPadding)
+    title.autoPinEdge(.left, to: .right, of: close, withOffset: self.theme.tabHorizontalPadding)
     title.autoPinEdge(toSuperviewEdge: .right, withInset: self.theme.tabHorizontalPadding)
     title.autoAlignAxis(toSuperviewAxis: .horizontal)
   }

    )
    close.isBordered = false
    (close.cell as? NSButtonCell)?.highlightsBy = .contentsCellMask

    icon.image = NSImage(named: NSImage.actionTemplateName)

    title.drawsBackground = false
    title.font = self.theme.titleFont


  private func addViews() {
    let close = self.closeButton
    let title = self.titleView

    self.addSubview(close)
    self.addSubview(title)

    close.imagePosition = .imageOnly
