   private weak var tabBar: TabBar<Rep>?
 
   private let closeButton = NSButton(forAutoLayout: ())
-  private let iconView = NSImageView(forAutoLayout: ())
   private let titleView = NSTextField(forAutoLayout: ())
 
   private var widthConstraint: NSLayoutConstraint?

    )
    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
