Roo/bootstrap/LayoutMasonry.js
authoredward <edward@roojs.com>
Mon, 18 Dec 2017 08:10:45 +0000 (16:10 +0800)
committeredward <edward@roojs.com>
Mon, 18 Dec 2017 08:10:45 +0000 (16:10 +0800)
Roo/bootstrap/LayoutMasonry.js

index 9cc316a..be394ee 100644 (file)
@@ -238,7 +238,7 @@ Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component,  {
         var avail = Math.floor((containerWidth - totalBoxWidth) / this.cols);
         Roo.log(avail);
         this.colWidth = boxWidth + avail - this.padWidth;
-        
+        Roo.log(this.colWidth);
         this.unitWidth = Math.floor((this.colWidth - (this.gutter * 2)) / 3);
         this.unitHeight = this.boxHeight > 0 ? this.boxHeight  : this.unitWidth;
     },