1use bevy_scene::{bsn, Scene}; 2use bevy_ui::Node; 3 4/// An invisible UI node that takes up space, and which has a positive `flex_grow` setting. 5/// This is normally used within containers to provide a gap. 6pub fn flex_spacer() -> impl Scene { 7 bsn! { 8 Node { 9 flex_grow: 1.0, 10 } 11 } 12} 13 14