diff --git a/src/app/mod.rs b/src/app/mod.rs index d989b14..7f073f5 100644 --- a/src/app/mod.rs +++ b/src/app/mod.rs @@ -72,17 +72,13 @@ impl State { .width(Length::Fill) .height(Length::Fill) .into(), - widget::grid(self.cpu_graphs.iter().map(|(name, graph)| { - widget::row([ - // widget::text(name).into(), - widget::Canvas::new(graph) - .width(Length::Fill) - .height(Length::Fill) - .into(), - ]) - .into() - })) - // .columns(8) + widget::grid( + self.cpu_graphs + .iter() + .map(|(_name, graph)| widget::Canvas::new(graph).into()), + ) + .columns(2) + .height(Length::Fill) .into(), ]) .into()