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

Introduce center widget helper #2423

Merged
merged 2 commits into from
May 3, 2024
Merged

Introduce center widget helper #2423

merged 2 commits into from
May 3, 2024

Conversation

hecrj
Copy link
Member

@hecrj hecrj commented May 3, 2024

... and also make center_x and center_y set width and height to Length::Fill, respectively.

This targets the most common use case when centering things and removes a bunch of boilerplate as a result.

... and also make `center_x` and `center_y` set
`width` and `height` to `Length::Fill`, respectively.

This targets the most common use case when centering
things and removes a bunch of boilerplate as a result.
@hecrj hecrj added feature New feature or request invalid This doesn't seem right developer experience widget change addition labels May 3, 2024
@hecrj hecrj added this to the 0.13 milestone May 3, 2024
@hecrj hecrj enabled auto-merge May 3, 2024 07:28
@hecrj hecrj merged commit 38cf87c into master May 3, 2024
24 checks passed
@hecrj hecrj deleted the center-widget-helper branch May 3, 2024 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant