It would be nice if Svg2dBundle could be used with ui entities like this:
container
.spawn_bundle(ButtonBundle {
..default()
})
.with_children(|parent| {
parent.spawn_bundle(Svg2dBundle {
svg: assets_resource.cogwheel.clone(),
origin: Origin::Center,
..default()
});
});