You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a feature request to change the positioning algorithm. Currently, the algorithm works as follows:
select the height of the shortest column
Select the leftmost (or rightmost) column of the columns with that height.
I would like to propose another algorithm:
Select the height of the shortest column
Select the leftmost (or rightmost) column of the columns with height <= (min_height + e), where e is a small value which the user can set, for example three pixels.
An example where this use case would be nice, can be seen here: http://codepen.io/anon/pen/JGLQVp
In this example, the slightly larger box on the left causes the box on the next line to be positioned in the middle column, while a position in the left column would be more visually pleasing — especially since the small height difference between the columns is not noticeable, due to the gutters and margin.
The text was updated successfully, but these errors were encountered:
dwilmer
added a commit
to dwilmer/masonry
that referenced
this issue
Jan 27, 2016
This is a feature request to change the positioning algorithm. Currently, the algorithm works as follows:
I would like to propose another algorithm:
height <= (min_height + e)
, wheree
is a small value which the user can set, for example three pixels.An example where this use case would be nice, can be seen here: http://codepen.io/anon/pen/JGLQVp
In this example, the slightly larger box on the left causes the box on the next line to be positioned in the middle column, while a position in the left column would be more visually pleasing — especially since the small height difference between the columns is not noticeable, due to the gutters and margin.
The text was updated successfully, but these errors were encountered: