Roo/bootstrap/LayoutMasonry.js
[roojs1] / Roo / bootstrap / LayoutMasonry.js
index 20e8699..45c0a24 100644 (file)
@@ -661,10 +661,13 @@ Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component,  {
                     height = Math.floor(this.unitHeight * (b.y - 1) + (this.gutter * (b.y - 2)) + b.el.getPadding('tb'));
                 }
                 
-//                b.el.setWidth(width);
-//                b.el.setHeight(height);
+                b.el.setWidth(width);
+                b.el.setHeight(height);
+                
+                b.el.select('iframe',true).set('width', width);
+                b.el.select('iframe',true).set(height)
                 // iframe?
-                b.el.select('iframe',true).setSize(width,height);
+//                b.el.select('iframe',true).setSize(width,height);
                 
             }, this);