         clipsToBounds = true
         self.controller = controller
         
+        let barHeight:CGFloat = controller.parentController.viewParent.kBarHeight
+        
         let spinner:VSpinner = VSpinner()
         self.spinner = spinner
         

    
    //MARK: public
    
    func stopLoading()
    {
        
    }
}

        let views:[String:UIView] = [
            "spinner":spinner]
        
        let metrics:[String:CGFloat] = [
            "barHeight":barHeight]
        
        addConstraints(NSLayoutConstraint.constraints(
            withVisualFormat:"H:|-0-[spinner]-0-|",
