Repository: bevyengine/bevy
File: examples/testbed/ui.rs (Rust)

Code before:
                            Node {
                                width: percent(100),
                                margin: UiRect {
                                    top: px(50),
                                    bottom: px(50),
                                    ..default()
                                },
                                align_items: AlignItems::Center,
                                justify_content: JustifyContent::SpaceAround,
                                ..default()
                            },
                            DespawnOnExit(super::Scene::Transformations),
                        ))
                        .with_children(|row| {
                            row.spawn((
                                Text::new("Before Tf"),
                                Node {
                                    width: px(100),
                                    height: px(100),
                                    ..default()
                                },
                                BackgroundColor(background.into()),
                                TextFont {
                                    font: asset_server.load("fonts/FiraSans-Bold.ttf"),
                                    ..default()
                                },
                                DespawnOnExit(super::Scene::Transformations),
                            ));
                            row.spawn((
                                Text::new(label),
                                Node {
                                    width: px(100),
                                    height: px(100),
                                    ..default()
                                },
                                BackgroundColor(background.into()),
                                transformation,
                                TextFont {
                                    font: asset_server.load("fonts/FiraSans-Bold.ttf"),
                                    ..default()
                                },
                                DespawnOnExit(super::Scene::Transformations),
                            ));
                        });
                }
            });
    }
}


Review comment (suggestion):
```suggestion
                                TextFont::default(),
```
using the default font removes the risk for an asset loader delay

Code after:
                            width: percent(100),
                            margin: UiRect {
                                top: px(50),
                                bottom: px(50),
                                ..default()
                            },
                            align_items: AlignItems::Center,
                            justify_content: JustifyContent::SpaceAround,
                            ..default()
                        },))
                        .with_children(|row| {
                            row.spawn((
                                Text::new("Before Tf"),
                                Node {
                                    width: px(100),
                                    height: px(100),
                                    border_radius: BorderRadius::bottom_right(px(25.)),
                                    ..default()
                                },
                                BackgroundColor(background.into()),
                                TextFont::default(),
                            ));
                            row.spawn((
                                Text::new(label),
                                Node {
                                    width: px(100),
                                    height: px(100),
                                    border_radius: BorderRadius::bottom_right(px(25.)),
                                    ..default()
                                },
                                BackgroundColor(background.into()),
                                transformation,
                                TextFont::default(),
                            ));
                        });
                }
            });
    }
}