From 2d2aed39e2fcc701c1ba90df8de43a52806b47d4 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: Thu, 11 Jul 2024 21:07:55 +0200 Subject: [PATCH] fix: breadcrumb bar padding --- src/tab.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/tab.rs b/src/tab.rs index a5940b2..1f64b51 100644 --- a/src/tab.rs +++ b/src/tab.rs @@ -1915,13 +1915,16 @@ impl Tab { space_xxxs, space_xxs, space_s, + space_m, .. } = theme::active().cosmic().spacing; let size = self.size_opt.get().unwrap_or(Size::new(0.0, 0.0)); - let mut row = widget::row::with_capacity(5).align_items(Alignment::Center); + let mut row = widget::row::with_capacity(7).align_items(Alignment::Center); let mut w = 0.0; + row = row.push(widget::horizontal_space(Length::Fixed(space_m.into()))); + let mut prev_button = widget::button(widget::icon::from_name("go-previous-symbolic").size(16)) .padding(space_xxs) @@ -1961,6 +1964,7 @@ impl Tab { }) .on_submit(Message::Location(location.clone())), ); + row = row.push(widget::horizontal_space(Length::Fixed(space_m.into()))); return row.into(); } _ => {