# Objective - The examples use a more verbose than necessary way to initialize the image - The order of the camera doesn't need to be specified. At least I didn't see a difference in my testing ## Solution - Use `Image::new_fill()` to fill the image instead of abusing `resize()` - Remove the camera ordering |
||
|---|---|---|
| .. | ||
| borders.rs | ||
| button.rs | ||
| display_and_visibility.rs | ||
| flex_layout.rs | ||
| font_atlas_debug.rs | ||
| grid.rs | ||
| overflow_debug.rs | ||
| overflow.rs | ||
| relative_cursor_position.rs | ||
| render_ui_to_texture.rs | ||
| size_constraints.rs | ||
| text_debug.rs | ||
| text_wrap_debug.rs | ||
| text.rs | ||
| transparency_ui.rs | ||
| ui_material.rs | ||
| ui_scaling.rs | ||
| ui_texture_atlas_slice.rs | ||
| ui_texture_atlas.rs | ||
| ui_texture_slice.rs | ||
| ui.rs | ||
| viewport_debug.rs | ||
| window_fallthrough.rs | ||
| z_index.rs | ||