Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Improper sorting with respect to nodes of variable widths #132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 15, 2015

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