try and get ctrl-enter to add a clear all
[roojs1] / Roo / bootstrap / LayoutMasonry.js
index 0b082f7..b3a5ee6 100644 (file)
@@ -1,4 +1,10 @@
+
+
 /**
+ * @class Roo.bootstrap.LayoutMasonry
+ * @extends Roo.bootstrap.Component
+ * @children Roo.bootstrap.Element Roo.bootstrap.Img Roo.bootstrap.MasonryBrick
+ * Bootstrap Layout Masonry class
  *
  * This is based on 
  * http://masonry.desandro.com
@@ -6,15 +12,7 @@
  * The idea is to render all the bricks based on vertical width...
  *
  * The original code extends 'outlayer' - we might need to use that....
- * 
- */
 
-
-/**
- * @class Roo.bootstrap.LayoutMasonry
- * @extends Roo.bootstrap.Component
- * Bootstrap Layout Masonry class
- * 
  * @constructor
  * Create a new Element
  * @param {Object} config The config object
@@ -663,11 +661,8 @@ Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component,  {
                 
                 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);