-
-
Notifications
You must be signed in to change notification settings - Fork 214
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
Stick two views with space between #146
Comments
@sdyalor can you provide a image/ visual representation of want you want please ? |
@sdyalor your example forces the entire width because you are using pipes on both sides which creates a constraint with default margins to the edges. With
where parent might be an implied "self" depending on the complexity of your layout. |
@NikKovIos when you go right direction, x coordinates increases. If you go left side x coordinates decreases. In this picture, label's leading edge should be greater than red views's trailing edge. Why? |
|-a - 10 - b-|
Above work fine but forces the entire width
How to achieve this?
I was working with
a.Left == a.Right
This way is like SnapKit but is there a way to put padding in the middle ?
The text was updated successfully, but these errors were encountered: