             selectedBackgroundColor.setFill()
             titleView.textColor = NSColor.textColor()
         } else {
-            backgroundColor.setFill()
+            if hovered {
+                hoverBackgroundColor.setFill()
+            } else {
+                backgroundColor.setFill()                
+            }
             titleView.textColor = unselectedForegroundColor
         }
         NSRectFill(self.bounds)

            return
        }
        hovered = false
        closeButton.hidden = true
    }


    var ypadding : CGFloat = 2
    var closeButtonSize = NSSize(width: 16, height: 16)
    var backgroundColor = NSColor(white: 0.73, alpha: 1)
    var hoverBackgroundColor = NSColor(white: 0.70, alpha: 1)
    var selectedBackgroundColor = NSColor(white: 0.83, alpha: 1)
    var unselectedForegroundColor = NSColor(white: 0.4, alpha: 1)
    var closeButtonHoverBackgroundColor = NSColor(white: 0.65, alpha: 0.6)
    
    var title : NSString {
