bevy/crates/bevy_ui
ickshonpe 0cbabefbad
UiRect axes constructor (#7656)
# Objective

We don't have a constructor function for `UiRect` that sets uniform
horizontal and vertical values, even though it is a common pattern.

## Solution

Add a constructor function to `UiRect` called `axes`, that sets both
`left` and `right` to the same given horizontal value,
and sets both `top` and `bottom` to same given vertical value.

## Changelog

* Added a constructor function `axes` to `UiRect`.
2023-04-13 20:52:21 +00:00
..
src UiRect axes constructor (#7656) 2023-04-13 20:52:21 +00:00
Cargo.toml Upgrade Taffy requirement to v0.3.5 (#7959) 2023-03-07 22:10:35 +00:00