From 7ca5c760821dff052cf4fe1471606f8ac6d70e67 Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Mon, 5 Feb 2024 16:34:54 +0000 Subject: [PATCH] Add spacing and padding to book list --- src/application.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/application.rs b/src/application.rs index 4e51c7f..456d873 100644 --- a/src/application.rs +++ b/src/application.rs @@ -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);