Skip to content

Conversation

@mgwidmann
Copy link
Contributor

Cannot sort by the node width otherwise elements which have less width but are supposed to be further down the grid (like bottom right corner for example) end up getting packed and pushed to the top right corner.

By using node.width as a weight for Y, that weight varies per node and causes random undesirable effects.

…ode width (becomes a problem with nodes of variable width).
troolee added a commit that referenced this pull request May 15, 2015
Improper sorting with respect to nodes of variable widths
@troolee troolee merged commit ecebcc0 into gridstack:master May 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants