Add spacing and padding to book list

This commit is contained in:
Jarrod Doyle 2024-02-05 16:34:54 +00:00
parent 136684ed74
commit 7ca5c76082
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 2 additions and 1 deletions

View File

@ -83,7 +83,8 @@ impl Application for BookManagerApp {
}
}
let left_panel = scrollable(Column::with_children(books)).width(Length::Fixed(256.0));
let left_panel = scrollable(Column::with_children(books).spacing(10).padding(10))
.width(Length::Fixed(256.0));
let right_panel = column![hello_world, controls, active_editor]
.spacing(10)
.padding(10);