     }()
 
     private lazy var stackView: NSStackView = {
-        let v = NSStackView(views: [self.exportButton, self.searchField, self.detachButton])
+        let v = NSStackView(views: [self.searchField, self.exportButton, self.detachButton])
 
         v.orientation = .horizontal
-        v.spacing = 6
+        v.spacing = 8
         v.translatesAutoresizingMaskIntoConstraints = false
 
         return v

        b.action = #selector(exportTranscript)
        b.toolTip = "Export Transcript"
        b.setContentHuggingPriority(.defaultHigh, for: .horizontal)

        return b
    }()

    private lazy var searchField: NSSearchField = {

        return b
    }()
    
    private lazy var exportButton: NSView = {
        let b = PUIButton(frame: .zero)
        
        b.image = #imageLiteral(resourceName: "share")
