Roo/ViewPanel.js
authorChris <chris@roojs.com>
Mon, 21 Oct 2013 09:42:03 +0000 (17:42 +0800)
committerChris <chris@roojs.com>
Mon, 21 Oct 2013 09:42:03 +0000 (17:42 +0800)
Roo/ViewPanel.js

index 6ad02c4..5056896 100644 (file)
@@ -39,11 +39,11 @@ Roo.ViewPanel = function(view, config){
         
     }
     
-    grid.monitorWindowResize = false; // turn off autosizing
-    grid.autoHeight = false;
-    grid.autoWidth = false;
-    this.grid = grid;
-    this.grid.getGridEl().replaceClass("x-layout-inactive-content", "x-layout-component-panel");
+    //grid.monitorWindowResize = false; // turn off autosizing
+    //grid.autoHeight = false;
+    //grid.autoWidth = false;
+    //this.grid = grid;
+    //this.grid.getGridEl().replaceClass("x-layout-inactive-content", "x-layout-component-panel");
 };
 
 Roo.extend(Roo.GridPanel, Roo.ContentPanel, {