Roo/bootstrap/LayoutMasonry.js
authoredward <edward@roojs.com>
Wed, 26 Apr 2017 06:35:06 +0000 (14:35 +0800)
committeredward <edward@roojs.com>
Wed, 26 Apr 2017 06:35:06 +0000 (14:35 +0800)
Roo/bootstrap/LayoutMasonry.js

index c44a433..5c75d88 100644 (file)
@@ -1108,7 +1108,7 @@ Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component,  {
             
             pos.push({
                 x : maxX - this.unitWidth * box[2].x - this.gutter * (box[2].x - 1),
-                y : y
+                y : minY + (this.unitWidth + this.gutter) * 1
             });
             
             return pos;