             right:buttonStore.imageEdgeInsets.right + kStoreRight)
         self.buttonStore = buttonStore
         
-        let border:UIView = UIView()
-        border.isUserInteractionEnabled = false
-        border.translatesAutoresizingMaskIntoConstraints = false
-        border.backgroundColor = UIColor(white:0, alpha:0.1)
-        border.clipsToBounds = true
+        let border:VBorder = VBorder(color:UIColor(white:0, alpha:0.1))
         
         addSubview(border)
         addSubview(buttonCamera)
         addSubview(buttonStore)
         addSubview(buttonLoops)
         
-        let layoutLoopsTop:NSLayoutConstraint = NSLayoutConstraint.topToTop(
+        let constraintsLoopsVertical:[NSLayoutConstraint] = NSLayoutConstraint.equalsVertical(
             view:buttonLoops,
             toView:self)
-        let layoutLoopsBottom:NSLayoutConstraint = NSLayoutConstraint.bottomToBottom(
-            view:buttonLoops,
+        let constraintsCameraVertical:[NSLayoutConstraint] = NSLayoutConstraint.equalsVertical(
+            view:buttonCamera,
             toView:self)
+        let constraintsStoreVertical:[NSLayoutConstraint] = NSLayoutConstraint.equalsVertical(
+            view:buttonStore,
+            toView:self)
+        let cosntraintsBorderHorizontal:[NSLayoutConstraint] = NSLayoutConstraint.equalsHorizontal(
+            view:border,
+            toView:self)
+        
         layoutLoopsLeft = NSLayoutConstraint.leftToLeft(
             view:buttonLoops,
             toView:self)
         let layoutLoopsWidth:NSLayoutConstraint = NSLayoutConstraint.width(
             view:buttonLoops,
             constant:kButtonsWidth)
-        
-        let layoutCameraTop:NSLayoutConstraint = NSLayoutConstraint.topToTop(
-            view:buttonCamera,
-            toView:self)
-        let layoutCameraBottom:NSLayoutConstraint = NSLayoutConstraint.bottomToBottom(
-            view:buttonCamera,
-            toView:self)
+
         let layoutCameraWidth:NSLayoutConstraint = NSLayoutConstraint.width(
             view:buttonCamera,
             constant:kButtonsWidth)
         let layoutCameraRight:NSLayoutConstraint = NSLayoutConstraint.rightToRight(
             view:buttonCamera,
             toView:self)
-        
-        let layoutStoreTop:NSLayoutConstraint = NSLayoutConstraint.topToTop(
-            view:buttonStore,
-            toView:self)
-        let layoutStoreBottom:NSLayoutConstraint = NSLayoutConstraint.bottomToBottom(
-            view:buttonStore,
-            toView:self)
+
         let layoutStoreWidth:NSLayoutConstraint = NSLayoutConstraint.width(
             view:buttonStore,
             constant:kButtonsWidth)

            toView:self)
        let layoutBorderHeight:NSLayoutConstraint = NSLayoutConstraint.height(
            view:border,
            constant:1)
        let layoutBorderLeft:NSLayoutConstraint = NSLayoutConstraint.leftToLeft(
            view:border,
            toView:self)
        let layoutBorderRight:NSLayoutConstraint = NSLayoutConstraint.rightToRight(
            view:border,
            toView:self)
        
        addConstraints([
            layoutLoopsTop,
            layoutLoopsBottom,
            layoutLoopsLeft,
            layoutLoopsWidth,
            layoutCameraTop,
            layoutCameraBottom,
            layoutCameraRight,
            layoutCameraWidth,
            layoutStoreTop,
            layoutStoreBottom,
            layoutStoreWidth,
            layoutStoreLeft,
            layoutBorderBottom,
            layoutBorderHeight,
            layoutBorderLeft,
            layoutBorderRight])
    }
    
    override func layoutSubviews()

    private let kButtonsWidth:CGFloat = 70
    private let kStoreRight:CGFloat = 22
    private let kCameraLeft:CGFloat = 22
    private let kBorderHeight:CGFloat = 1
    
    convenience init(controller:CParent)
    {
