From e384f14fcdbce5d09b86023bcf5e77f8bf16149d Mon Sep 17 00:00:00 2001 From: ByteAtATime Date: Thu, 27 Nov 2025 12:59:07 -0800 Subject: [PATCH] feat: update size and border of root list item --- src/screens/root.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/screens/root.rs b/src/screens/root.rs index 34b0a88..ed390bc 100644 --- a/src/screens/root.rs +++ b/src/screens/root.rs @@ -1,3 +1,4 @@ +use iced::Border; use iced::widget::scrollable::Viewport; use iced::widget::{self, container, image, row, scrollable, svg, text}; use iced::{ @@ -251,8 +252,10 @@ impl RootScreen { let item_row = container(row_content.padding(12)) .style(move |_theme| container::Style { background: Some(iced::Background::Color(background)), + border: Border::default().rounded(6.0), ..Default::default() }) + .height(Length::Fixed(48.0)) .width(Length::Fill); ui_rows.push(item_row.into()); @@ -260,6 +263,7 @@ impl RootScreen { let content = Column::with_children(ui_rows) .width(Length::Fill) + .padding([0, 8]) .id(POSITION_TRACKER.clone()); scrollable(content)