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

Container's width / height are configured not properly #16

Closed
Otbivnoe opened this issue Feb 28, 2018 · 0 comments
Closed

Container's width / height are configured not properly #16

Otbivnoe opened this issue Feb 28, 2018 · 0 comments
Assignees
Labels

Comments

@Otbivnoe
Copy link
Owner

For instance, we have the following code:

[content1].configure(container: container, relation: .horizontal(left: 20, right: 20)) {
    content1.configureFrame { maker in
        maker.top()
        maker.size(width: 500, height: 60)
        maker.centerX()
    }
}

Container's width after the configuration should be is equal to 280, but this won't happen. It tries to wrap the all subviews and thus will ignore container's relations.

@Otbivnoe Otbivnoe added the bug label Feb 28, 2018
@Otbivnoe Otbivnoe self-assigned this Feb 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant