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

index 27009e1..b7acda9 100644 (file)
@@ -234,7 +234,7 @@ Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component,  {
         this.cols = this.maxCols > 0 ? Math.min( this.cols, this.maxCols ) : this.cols;
         
         var totalBoxWidth = this.cols * boxWidth - this.padWidth;
-        
+        Roo.log(totalBoxWidth);
         var avail = Math.floor((containerWidth - totalBoxWidth) / this.cols);
         
         this.colWidth = boxWidth + avail - this.padWidth;