         layoutResetLeft = NSLayoutConstraint.leftToLeft(
             view:buttonReset,
             toView:self)
+        
+        NSLayoutConstraint.bottomToTop(
+            view:slider,
+            toView:buttonReset)
+        NSLayoutConstraint.height(
+            view:slider,
+            constant:kSliderHeight)
+        NSLayoutConstraint.equalsHorizontal(
+            view:slider,
+            toView:self,
+            margin:kSliderMargin)
     }
     
     required init?(coder:NSCoder)

{
    private weak var controller:CDrawProject!
    private weak var node:DNode?
    private weak var layoutDoneLeft:NSLayoutConstraint!
    private weak var layoutResetLeft:NSLayoutConstraint!
    private let kAnimationDuration:TimeInterval = 0.3
    private let kButtonWidth:CGFloat = 120
    private let kButtonHeight:CGFloat = 36
    private let kButtonBottom:CGFloat = -20
    
    init(
        controller:CDrawProject,

        layoutResetLeft.constant = buttonMargin
        
        super.layoutSubviews()
    }
    
    //MARK: actions
    
    func actionDone(sender button:UIButton)
    {
        animateHide()
    }
    
    func actionReset(sender button:UIButton)
    {
        slider.value = 0
    }
    
    //MARK: private
