Roo/bootstrap/panel/Grid.js
authorAlan Knowles <alan@roojs.com>
Fri, 7 Jul 2017 02:53:33 +0000 (10:53 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 7 Jul 2017 02:53:33 +0000 (10:53 +0800)
Roo/bootstrap/panel/Grid.js

index af94ca1..1cce1d2 100644 (file)
@@ -39,11 +39,15 @@ Roo.bootstrap.panel.Grid = function(config){
         
     }
     
+    
     config.grid.monitorWindowResize = false; // turn off autosizing
     config.grid.autoHeight = false;
     config.grid.autoWidth = false;
     this.grid = config.grid;
     this.grid.getGridEl().replaceClass("x-layout-inactive-content", "x-layout-component-panel");
+    
+    this.on('resize', this.onResize, this);
+    
 };
 
 Roo.extend(Roo.bootstrap.panel.Grid, Roo.bootstrap.panel.Content, {