projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Roo/bootstrap/LayoutMasonry.js
[roojs1]
/
Roo
/
bootstrap
/
LayoutMasonry.js
diff --git
a/Roo/bootstrap/LayoutMasonry.js
b/Roo/bootstrap/LayoutMasonry.js
index
8d4ecae
..
0b082f7
100644
(file)
--- a/
Roo/bootstrap/LayoutMasonry.js
+++ b/
Roo/bootstrap/LayoutMasonry.js
@@
-242,8
+242,6
@@
Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component, {
this.colWidth = boxWidth + avail - this.padWidth;
this.unitWidth = Math.round((this.colWidth - (this.gutter * 2)) / 3);
this.colWidth = boxWidth + avail - this.padWidth;
this.unitWidth = Math.round((this.colWidth - (this.gutter * 2)) / 3);
- Roo.log(this.unitWidth);
- alert(this.unitWidth)
this.unitHeight = this.boxHeight > 0 ? this.boxHeight : this.unitWidth;
},
this.unitHeight = this.boxHeight > 0 ? this.boxHeight : this.unitWidth;
},
@@
-665,8
+663,11
@@
Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component, {
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?
// iframe?
- b.el.select('iframe',true).setSize(width,height);
+
//
b.el.select('iframe',true).setSize(width,height);
}, this);
}, this);