roojs-ui-debug.js
authorAlan Knowles <alan@roojs.com>
Tue, 10 Jul 2012 10:55:27 +0000 (18:55 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 10 Jul 2012 10:55:27 +0000 (18:55 +0800)
roojs-ui-debug.js

index 9c35c07..30d102e 100644 (file)
@@ -33396,12 +33396,13 @@ Roo.TreePanel = function(config){
         //console.log('render tree');
         this.tree.render();
     });
+    // this should not be needed.. - it's actually the 'el' that resizes?
     
-    this.on('resize',  function (cp, w, h) {
-            this.tree.innerCt.setWidth(w);
-            this.tree.innerCt.setHeight(h);
-            //this.tree.innerCt.setStyle('overflow-y', 'auto');
-    });
+    //this.on('resize',  function (cp, w, h) {
+    //        this.tree.innerCt.setWidth(w);
+    //        this.tree.innerCt.setHeight(h);
+    //        //this.tree.innerCt.setStyle('overflow-y', 'auto');
+    //});