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

Center a component in the viewport using constraints #31

Open
OmerFlame opened this issue Sep 5, 2022 · 3 comments
Open

Center a component in the viewport using constraints #31

OmerFlame opened this issue Sep 5, 2022 · 3 comments

Comments

@OmerFlame
Copy link

You are not providing a way to constrain the center-X/center-Y of a component to a LayoutGuide, which makes centering components in the viewport quite difficult using only constraints. Can you please add a way to constrain the center-X/center-Y of components as well?

Thanks! This library still goes strong and works quite nicely to this day!

@kwameopareasiedu
Copy link
Owner

Hi @OmerFlame

So excited u find this library useful. I'm preparing to resume development on it and will add a more robust constraint system that should cater for the centering.

Thanks so much for the support...

@OmerFlame
Copy link
Author

Great minds think alike, constraints rule!

@ItsHarper
Copy link

So excited u find this library useful. I'm preparing to resume development on it and will add a more robust constraint system that should cater for the centering.

Thanks so much for the support...

That's great to hear, hopefully that still ends up happening! Thanks for your work on this.

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

3 participants