Roo/bootstrap/LayoutMasonry.js
authorAlan Knowles <alan@roojs.com>
Tue, 20 Oct 2015 10:22:29 +0000 (18:22 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 20 Oct 2015 10:22:29 +0000 (18:22 +0800)
Roo/bootstrap/LayoutMasonry.js

index c2cad17..1538424 100644 (file)
@@ -240,7 +240,10 @@ Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component,  {
               // if first elem has no width, default to size of container
             
         }
-    
+            
+        // column width is fixed at the top - however if container width get's smaller we should
+        // reduce it...
+            
         var columnWidth = this.columnWidth += this.gutter;
       
         // calculate columns