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

Fix StackLayout fillEqualSpacing distribution with spacing #160

Merged

Conversation

domasn
Copy link
Contributor

@domasn domasn commented Sep 12, 2017

Updates StackLayout.distributionConfig and calculates the axisSpacing taking into account the spaces that were already added during the measurement phase. Actual excessAxisLength for .fillEqualSpacing is increased by numberOfSpaces * spacing so it can be redistrubuted.

See issue #159

@nicksnyder
Copy link
Collaborator

Thanks for the PR! I haven't looked at the issue yet, but this PR will unit need tests before it is mergeable.

@staguer
Copy link
Contributor

staguer commented Sep 13, 2017

Thank you for adding unit tests.

I'm curious, why doesn't this PR have the automatic CI verification like the other PRs do?

@domasn
Copy link
Contributor Author

domasn commented Sep 13, 2017

@staguer Great question, I don't really know though. As you can see this pull is from a fix branch on my fork, but that shouldn't really matter to CI.

@nicksnyder
Copy link
Collaborator

It looks like Travis thinks it has detected abuse:
image

I contacted Travis support to see what is going on.

@nicksnyder
Copy link
Collaborator

@domasn Travis support says the abuse flag has been removed. Please push an empty commit or rebase against master to trigger a new build.

@nicksnyder nicksnyder merged commit ddf82fc into LinkedInAttic:master Sep 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants