Improve example readability
This commit is contained in:
parent
56065fe959
commit
5bfe887e3d
1 changed files with 9 additions and 8 deletions
|
|
@ -113,15 +113,16 @@ impl Application for Example {
|
||||||
));
|
));
|
||||||
|
|
||||||
Column::with_children(vec![
|
Column::with_children(vec![
|
||||||
system_name.into(),
|
system_name.size(30).into(),
|
||||||
system_kernel.into(),
|
system_kernel.size(30).into(),
|
||||||
system_version.into(),
|
system_version.size(30).into(),
|
||||||
cpu_brand.into(),
|
cpu_brand.size(30).into(),
|
||||||
cpu_cores.into(),
|
cpu_cores.size(30).into(),
|
||||||
memory_total.into(),
|
memory_total.size(30).into(),
|
||||||
graphics_adapter.into(),
|
graphics_adapter.size(30).into(),
|
||||||
graphics_backend.into(),
|
graphics_backend.size(30).into(),
|
||||||
])
|
])
|
||||||
|
.spacing(10)
|
||||||
.into()
|
.into()
|
||||||
}
|
}
|
||||||
Example::Unsupported => Text::new("Unsupported!").size(20).into(),
|
Example::Unsupported => Text::new("Unsupported!").size(20).into(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue