![]() # 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`. |
||
---|---|---|
.. | ||
flex | ||
render | ||
widget | ||
accessibility.rs | ||
camera_config.rs | ||
focus.rs | ||
geometry.rs | ||
lib.rs | ||
node_bundles.rs | ||
stack.rs | ||
ui_node.rs | ||
update.rs |