From dbe33ad9b776850483ce43bfac58ce2ad6fc4f1a Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Tue, 10 Oct 2023 12:43:26 -0400 Subject: [PATCH] fix: radius on headerbar --- src/theme/style/iced.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/theme/style/iced.rs b/src/theme/style/iced.rs index e732ad37..46dbfb12 100644 --- a/src/theme/style/iced.rs +++ b/src/theme/style/iced.rs @@ -412,7 +412,12 @@ impl container::StyleSheet for Theme { .add_stop(0.0, header_top.into()) .add_stop(1.0, header_bottom.into()), ))), - border_radius: BorderRadius::from([16.0, 16.0, 0.0, 0.0]), + border_radius: BorderRadius::from([ + palette.corner_radii.radius_xs[0], + palette.corner_radii.radius_xs[3], + 0.0, + 0.0, + ]), border_width: 0.0, border_color: Color::TRANSPARENT, }