bevy/crates/bevy_ui/src
ickshonpe 11c7e5807a Improve the documentation for flex-basis (#7685)
# Objective

The current doc comment for `flex-basis` states that it is "The initial size of the item", which is a bit confusing since size in Bevy is mostly used to refer to two-dimensional extents but `flex-basis` is a one-dimensional value.

It also needs to explain that:
* `flex-basis` sets the initial length of the main axis.
* Overrides `size` on the main axis.
* Obeys the `min_size` and `max_size` constraints.
2023-02-15 13:58:01 +00:00
..
flex The size field of CalculatedSize should not be a Size (#7641) 2023-02-13 18:20:29 +00:00
render Refactor Globals and View structs into separate shaders (#7512) 2023-02-11 17:55:18 +00:00
widget Changes in the size of a text node should trigger recomputation of its text (#7674) 2023-02-14 14:46:28 +00:00
camera_config.rs Extract component derive (#7399) 2023-01-30 18:12:16 +00:00
focus.rs expose cursor position with scale (#7297) 2023-01-20 14:25:24 +00:00
geometry.rs Add doc tests for the Size constructor functions (#7658) 2023-02-13 18:20:34 +00:00
lib.rs Fix Window feedback loop between the OS and Bevy (#7517) 2023-02-07 14:18:13 +00:00
node_bundles.rs Change default FocusPolicy to Pass (#7161) 2023-01-12 17:15:20 +00:00
stack.rs Rename schedule v3 to schedule (#7519) 2023-02-06 18:44:40 +00:00
ui_node.rs Improve the documentation for flex-basis (#7685) 2023-02-15 13:58:01 +00:00
update.rs Add z-index support with a predictable UI stack (#5877) 2022-11-02 22:06:04 +00:00