Roo/bootstrap/Component.js
authorEdward <edward@roojs.com>
Mon, 28 Apr 2014 10:19:44 +0000 (18:19 +0800)
committerEdward <edward@roojs.com>
Mon, 28 Apr 2014 10:19:44 +0000 (18:19 +0800)
Roo/bootstrap/Component.js

index d908557..f4c679e 100644 (file)
@@ -266,18 +266,6 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
         cn.items = nitems;
        
         return cn;
-    },
-    
-    adjustWidth : function(width){
-        if(typeof width == "number"){
-            if(this.autoBoxAdjust && !this.isBorderBox()){
-               width -= (this.getBorderWidth("lr") + this.getPadding("lr"));
-            }
-            if(width < 0){
-                width = 0;
-            }
-        }
-        return width;
     }