     public var iconImageView: UIImageView {
         get {
             if _iconImageView == nil {
-                _iconImageView = UIImageView(frame: CGRectMake(0, 0, 21, 23))
+                _iconImageView = UIImageView(frame: CGRectMake(frame.size.width - size, 0, 21, 23))
                 _iconImageView?.center = CGPointMake(21, 21)
                 _iconImageView?.contentMode = UIViewContentMode.ScaleToFill
-                    addSubview(_iconImageView!)
+                addSubview(_iconImageView!)
             }
             return _iconImageView!
         }

        didSet {
            titleLabel.text = title
            titleLabel.sizeToFit()
            titleLabel.frame.origin.x = -titleLabel.frame.size.width - 10
            titleLabel.frame.origin.y = self.frame.height/2-titleLabel.frame.size.height/2
        }
    }
    

    }
    
    private func createCircleLayer() {
        circleLayer.frame = CGRectMake(frame.size.width - size, 0, size, size)
        circleLayer.backgroundColor = buttonColor.CGColor
        circleLayer.cornerRadius = size/2
        layer.addSublayer(circleLayer)
    }
    
    private func createTintLayer() {
        tintLayer.frame = CGRectMake(frame.size.width - size, 0, size, size)
        tintLayer.backgroundColor = UIColor.whiteColor().colorWithAlphaComponent(0.2).CGColor
        tintLayer.cornerRadius = size/2
        layer.addSublayer(tintLayer)
