Roo/ContentPanel.js
authorAlan Knowles <alan@roojs.com>
Tue, 10 Jul 2012 10:54:07 +0000 (18:54 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 10 Jul 2012 10:54:07 +0000 (18:54 +0800)
Roo/ContentPanel.js

index 0a2eabe..1d11110 100644 (file)
@@ -711,12 +711,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');
+    //});