bevy/examples/ui
Rob Parrett c66c2c7420
Omit font size where it closely matches the default in examples (#13952)
# Objective

In a few examples, we're specifying a font or font size that is the same
as the current default value. Might as well use the default. That'll be
one less thing to worry about if we ever need to change the default font
size. (wink)

In a few others, we were using a value of `25.0` and it didn't seem like
it was different for an important reason, so I switched to the default
there too.

(There are a bunch of examples that use non-default font sizes for
various reasons. Not trying address them all here.)
2024-06-20 21:01:28 +00:00
..
borders.rs Update borders example to match rounded_borders example (#12630) 2024-03-21 18:38:58 +00:00
button.rs Add border radius to UI nodes (adopted) (#12500) 2024-03-19 22:44:00 +00:00
display_and_visibility.rs Omit font size where it closely matches the default in examples (#13952) 2024-06-20 21:01:28 +00:00
flex_layout.rs Omit font size where it closely matches the default in examples (#13952) 2024-06-20 21:01:28 +00:00
font_atlas_debug.rs Adding explanation to seeded rng used in examples (#12593) 2024-03-26 19:40:18 +00:00
grid.rs Omit font size where it closely matches the default in examples (#13952) 2024-06-20 21:01:28 +00:00
overflow.rs Updates default Text font size to 24px (#13603) 2024-05-31 16:41:27 +00:00
overflow_debug.rs Updates default Text font size to 24px (#13603) 2024-05-31 16:41:27 +00:00
relative_cursor_position.rs Migrate from LegacyColor to bevy_color::Color (#12163) 2024-02-29 19:35:12 +00:00
render_ui_to_texture.rs Migrate from LegacyColor to bevy_color::Color (#12163) 2024-02-29 19:35:12 +00:00
rounded_borders.rs Add border radius to UI nodes (adopted) (#12500) 2024-03-19 22:44:00 +00:00
size_constraints.rs Decouple BackgroundColor from UiImage (#11165) 2024-03-03 21:35:50 +00:00
text.rs Migrate from LegacyColor to bevy_color::Color (#12163) 2024-02-29 19:35:12 +00:00
text_debug.rs Updates default Text font size to 24px (#13603) 2024-05-31 16:41:27 +00:00
text_wrap_debug.rs Migrate from LegacyColor to bevy_color::Color (#12163) 2024-02-29 19:35:12 +00:00
transparency_ui.rs Decouple BackgroundColor from UiImage (#11165) 2024-03-03 21:35:50 +00:00
ui.rs Updates default Text font size to 24px (#13603) 2024-05-31 16:41:27 +00:00
ui_material.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
ui_scaling.rs Updates default Text font size to 24px (#13603) 2024-05-31 16:41:27 +00:00
ui_texture_atlas.rs Updates default Text font size to 24px (#13603) 2024-05-31 16:41:27 +00:00
ui_texture_atlas_slice.rs Slicing support for texture atlas (#12059) 2024-03-05 16:05:39 +00:00
ui_texture_slice.rs Slicing support for texture atlas (#12059) 2024-03-05 16:05:39 +00:00
viewport_debug.rs Fix green colors becoming darker in various examples (#12328) 2024-03-05 23:42:03 +00:00
window_fallthrough.rs Migrate from LegacyColor to bevy_color::Color (#12163) 2024-02-29 19:35:12 +00:00
z_index.rs Fix green colors becoming darker in various examples (#12328) 2024-03-05 23:42:03 +00:00