Skip to content

Introduce center widget helper#2423

Merged
hecrj merged 2 commits intomasterfrom
center-widget-helper
May 3, 2024
Merged

Introduce center widget helper#2423
hecrj merged 2 commits intomasterfrom
center-widget-helper

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
@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

Comments