X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fbootstrap%2FLayoutMasonry.js;h=0b082f79d6dd8d03ea9986c83732140f167f9a44;hb=05d4479b42d7cf53ba7a700636903c81ff49d9a7;hp=20e8699250e859245cee25ad9ea22aba64e4a4fd;hpb=df60df8f11b4fe930fc8db617ae62a9d0a1d4891;p=roojs1 diff --git a/Roo/bootstrap/LayoutMasonry.js b/Roo/bootstrap/LayoutMasonry.js index 20e8699250..0b082f79d6 100644 --- a/Roo/bootstrap/LayoutMasonry.js +++ b/Roo/bootstrap/LayoutMasonry.js @@ -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).first().set('width', width); + b.el.select('iframe',true).first().set(height); // iframe? - b.el.select('iframe',true).setSize(width,height); +// b.el.select('iframe',true).setSize(width,height); }, this);