diff --git a/src/view.rs b/src/view.rs index bba4da8..27c8716 100644 --- a/src/view.rs +++ b/src/view.rs @@ -54,7 +54,13 @@ impl AppState { .width(Length::Fill) .spacing(20) .padding(10) - .push(button::text(fl!("refresh")).on_press(AppMsg::Refresh)) + .push( + row() + .width(Length::Fill) + .push(horizontal_space()) + .push(button::text(fl!("refresh")).on_press(AppMsg::Refresh)) + .push(horizontal_space()), + ) .into() }