From 505cea111de93e8fb217e8434001e68ed5679fa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vuka=C5=A1in=20Vojinovi=C4=87?= <150025636+git-f0x@users.noreply.github.com> Date: Sat, 13 Jul 2024 12:10:39 +0200 Subject: [PATCH] fix: list view padding --- src/tab.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/tab.rs b/src/tab.rs index 26f800a..73f5b6d 100644 --- a/src/tab.rs +++ b/src/tab.rs @@ -2479,7 +2479,10 @@ impl Tab { bool, ) { let cosmic_theme::Spacing { - space_m, space_xxs, .. + space_m, + space_s, + space_xxs, + .. } = theme::active().cosmic().spacing; let TabConfig { @@ -2787,7 +2790,7 @@ impl Tab { ( drag_col, mouse_area::MouseArea::new( - widget::column::with_children(children).padding([0, space_m]), + widget::column::with_children(children).padding([0, space_s]), ) .with_id(Id::new("list-view")) .on_press(|_| Message::Click(None))