             metrics:metrics,
             views:views))
         addConstraints(NSLayoutConstraint.constraints(
-            withVisualFormat:"H:|-0-[label]-0-|",
-            options:[],
-            metrics:metrics,
-            views:views))
-        addConstraints(NSLayoutConstraint.constraints(
             withVisualFormat:"V:|-29-[icon]-0-|",
-            options:[],
-            metrics:metrics,
-            views:views))
-        addConstraints(NSLayoutConstraint.constraints(
-            withVisualFormat:"V:|-16-[label(20)]",
             options:[],
             metrics:metrics,
             views:views))

        icon.contentMode = UIViewContentMode.center
        self.icon = icon
        
        let label:UILabel = UILabel()
        label.isUserInteractionEnabled = false
        label.textAlignment = NSTextAlignment.center
        label.backgroundColor = UIColor.clear
        label.font = UIFont.regular(size:12)
        label.translatesAutoresizingMaskIntoConstraints = false
        self.label = label
        
        addSubview(icon)
        addSubview(label)
        
        let views:[String:UIView] = [
            "icon":icon,
            "label":label]
        
        let metrics:[String:CGFloat] = [:]
        

    
    //MARK: public
    
    func config(model:MMainItem)
    {
        self.model = model
        hover()
    }
}
