bevy/crates/bevy_ui/src
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
..
flex Remove the corresponding measure from Taffy when a CalculatedSize component is removed. (#8294) 2023-04-05 21:29:29 +00:00
render Fix size of clipped text glyphs. (#8197) 2023-04-05 22:26:52 +00:00
widget Changed spelling linebreak_behaviour to linebreak_behavior (#8285) 2023-04-05 21:25:53 +00:00
accessibility.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
camera_config.rs Extract component derive (#7399) 2023-01-30 18:12:16 +00:00
focus.rs Consistent screen-space coordinates (#8306) 2023-04-05 22:32:36 +00:00
geometry.rs UiRect axes constructor (#7656) 2023-04-13 20:52:21 +00:00
lib.rs Suppress the clippy::type_complexity lint (#8313) 2023-04-06 21:27:36 +00:00
node_bundles.rs Change the Node doc comments to state that it stores the size in logical pixels (#7896) 2023-03-04 19:24:56 +00:00
stack.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
ui_node.rs UiImage helper functions (#8199) 2023-04-05 22:19:46 +00:00
update.rs Improve UI update_clipping_system comments (#8147) 2023-03-28 20:18:02 +00:00