Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

[Compose] Vertical chain Top and Bottom margins ignored. #572

Closed
oscar-ad opened this issue Apr 19, 2022 · 0 comments · Fixed by #573
Closed

[Compose] Vertical chain Top and Bottom margins ignored. #572

oscar-ad opened this issue Apr 19, 2022 · 0 comments · Fixed by #573
Assignees
Labels
bug Something isn't working

Comments

@oscar-ad
Copy link
Contributor

constraint(createVerticalChain(...)) {
   top.linkTo(parent.top, 10.dp)
}

The margin defined when constraining a vertical Chain seems to be ignored. Horizontal chains are working as expected.

@oscar-ad oscar-ad added the bug Something isn't working label Apr 19, 2022
@oscar-ad oscar-ad self-assigned this Apr 19, 2022
oscar-ad added a commit to oscar-ad/constraintlayout that referenced this issue Apr 19, 2022
Fixes androidx#572

The margin for constraints that can be declared for chains would not be
applied for VerticalChains.

Also applies the gone margin, which was ignored for both kinds of
Chains.
oscar-ad added a commit that referenced this issue Apr 21, 2022
Fixes #572

The margin for constraints that can be declared for chains would not be
applied for VerticalChains.

Also applies the gone margin, which was ignored for both kinds of
Chains.
oscar-ad added a commit that referenced this issue May 19, 2022
Fixes #572

The margin for constraints that can be declared for chains would not be
applied for VerticalChains.

Also applies the gone margin, which was ignored for both kinds of
Chains.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant