     
     override init(frame:CGRect)
     {
+        buttonsTotalWidth = kLabelsWidth + kLabelsMargin + kButtonsWidth + kButtonsWidth + kLabelsMargin + kLabelsWidth
+        
         super.init(frame:frame)
         
         let labelTitle:UILabel = UILabel()

    weak var buttonFreeJoin:UIButton!
    weak var model:MHomeItemAccess!
    weak var layoutButtonsLeft:NSLayoutConstraint!
    private let kLabelsHeight:CGFloat = 20
    private let kLabelsWidth:CGFloat = 105
    private let kLabelsMargin:CGFloat = 5

            multiplier:1,
            constant:0)
        
        addConstraint(layoutButtonsLeft)
    }
    
    required init?(coder:NSCoder)
    {
        fatalError()
    }
    
    override func layoutSubviews()
    {
        let maxWidth:CGFloat = bounds.maxX
        let remainWidth:CGFloat = maxWidth - buttonsTotalWidth
        let margin:CGFloat = remainWidth / 2.0
        layoutButtonsLeft.constant = margin
        
        super.layoutSubviews()
    }
}
