Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

Resizing an item can leave empty horizontal spaces #66

Merged
merged 1 commit into from Aug 21, 2015

Conversation

NiGhTTraX
Copy link
Contributor

bug3

Solution

When an item is resized we check if it fits in its original position. If it doesn't we start looking for a new position for it trying to preserve it's original row. If we can't find any, we make a new column and try to place it on its original row. If it doesn't fit there, we place it on the first row.

However, there might be horizontal to the left of the new position. We need to call gravity to fix this. See #65 for extra details.

TODO

  • writing failing test
  • call pullToLeft after the item is resized

@andrei-picus-hs andrei-picus-hs self-assigned this Aug 20, 2015
@andrei-picus-hs
Copy link
Contributor Author

@skidding please review specs.

@ovidiuch
Copy link
Contributor

LGTM

@andrei-picus-hs
Copy link
Contributor Author

@skidding please review.

@ovidiuch
Copy link
Contributor

LGTM

andrei-picus-hs added a commit that referenced this pull request Aug 21, 2015
Resizing an item can leave empty horizontal spaces
@andrei-picus-hs andrei-picus-hs merged commit b20267d into master Aug 21, 2015
@andrei-picus-hs andrei-picus-hs deleted the 66-resize-item-pull-left branch August 21, 2015 09:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants