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

Centered layout #65

Closed
JD557 opened this issue Nov 5, 2023 · 0 comments · Fixed by #67
Closed

Centered layout #65

JD557 opened this issue Nov 5, 2023 · 0 comments · Fixed by #67

Comments

@JD557
Copy link
Owner

JD557 commented Nov 5, 2023

It would be nice to have some way to center a Rect in an area, for example, to center a button on a screen.

I'm not entirely sure how the API could look like, this could either be a new layout or just a feature of Rect.

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

Successfully merging a pull request may close this issue.

1 participant