pub fn Spacer(__arg0: Modifier) -> usizeExpand description
Reserves layout space with the supplied modifier.
ยงExample
use cranpose_ui::*;
#[composable]
fn SpacedLabels() {
Row(Modifier::empty(), RowSpec::default(), || {
Text("Left", Modifier::empty(), TextStyle::default());
Spacer(Modifier::empty().width(16.0));
Text("Right", Modifier::empty(), TextStyle::default());
});
}