bevy/examples/ui
ickshonpe 92f39354a3
Display the bounds of each text node in the text_debug ui example (#15622)
# Objective

Add a background colour to each text node in the `text_debug` example to
visualize their bounds.

## Showcase

<img width="961" alt="deb"
src="https://github.com/user-attachments/assets/deec3e15-b0f0-411f-9af1-597587ac2a83">

In the bottom right you can see the empty space at the bottom of the
text node, making it much more obvious that there is a bug causing the
size of the bounds to be calculated incorrectly.
2024-10-05 22:48:57 +00:00
..
borders.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
button.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
display_and_visibility.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
flex_layout.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
font_atlas_debug.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
ghost_nodes.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
grid.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
overflow.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
overflow_debug.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
relative_cursor_position.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
render_ui_to_texture.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
scroll.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
size_constraints.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
text.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
text_debug.rs Display the bounds of each text node in the text_debug ui example (#15622) 2024-10-05 22:48:57 +00:00
text_wrap_debug.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
transparency_ui.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
ui.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
ui_material.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
ui_scaling.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
ui_texture_atlas.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
ui_texture_atlas_slice.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
ui_texture_slice.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
ui_texture_slice_flip_and_tile.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
viewport_debug.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
window_fallthrough.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
z_index.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00