 
     func adjustPackedItem() {
         if needPackItem() {
-            packedTabButton.isHidden = false
-            packLastTab()
+            if self.tabItemViews().count > 1 {
+                packedTabButton.isHidden = false
+                packLastTab()
+            }
         } else if hasPackedTabViewItems && !needPackItem(addtion: 1) {
             popFirstPackedItem()
         }

    open var minTabItemWidth : CGFloat = 100 {
        didSet {
            if let constraint = minViewWidthConstraint {
                constraint.constant = self.minTabItemWidth
                self.needsLayout = true
            }
        }

    }
    
    private func createLYTabItemView(_ item : NSTabViewItem) -> LYTabItemView {
        let tabItemView = LYTabItemView(tabViewItem: item)
        tabItemView.tabBarView = self
        tabItemView.translatesAutoresizingMaskIntoConstraints = false
        tabItemView.setContentCompressionResistancePriority(NSLayoutPriorityDefaultLow, for: .horizontal)
        return tabItemView
    }
    
    private func itemViewForItem(_ item: NSTabViewItem) -> LYTabItemView? {
