Skip to content
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

Look into Vertical Baseline Standing Spacing Constraints and Vertical Spacing Constraints #62

Open
drewdeponte opened this issue Nov 11, 2017 · 2 comments

Comments

@drewdeponte
Copy link
Owner

The Baseline Standing Spacing Constraints are supposed to be useful to seperate two labels from eachother vertically as when the Dynamic Font style sizes change it adjust the baseline spacing appropriately.

Vertical Spacing Constraints on the other hand don't do this. But, either way we should look into how we want to hande this type of constraint.

@drewdeponte
Copy link
Owner Author

@drewdeponte
Copy link
Owner Author

Not sure this actually works, but could be interesting.

Constraid.set(priceLabel.forFirstBaselineLayout, belowTheBottomEdgeOf: textLabel.forLastBaselineLayout)

Also, the NSLayoutConstraintAttribute has baseline attirbutes. Not, sure how we would get the system spacing portion. But, we for sure can specify constraints between the baselines.

@drewdeponte drewdeponte added this to the v2.1.0 milestone Nov 21, 2017
@drewdeponte drewdeponte removed this from the v3.0.0 milestone Mar 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant