From 90fda425bd5d632535557e809ab18b07c35b3ea9 Mon Sep 17 00:00:00 2001 From: RarDog Date: Fri, 28 Aug 2026 14:20:27 +0300 Subject: [PATCH] Fix black separator line between sidebar and main content in v2.5.5 --- src/ui/gui.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/ui/gui.rs b/src/ui/gui.rs index 9f55710..a0dbb97 100644 --- a/src/ui/gui.rs +++ b/src/ui/gui.rs @@ -82,6 +82,7 @@ pub struct ThemeColors { pub bg_card_active: Color32, pub bg_hover: Color32, pub stroke_border: Stroke, + #[allow(dead_code)] pub stroke_subtle: Stroke, pub text_primary: Color32, pub text_secondary: Color32, @@ -5004,9 +5005,13 @@ impl eframe::App for ZeroSendApp { style.visuals.window_fill = theme.bg_card; style.visuals.override_text_color = Some(theme.text_primary); style.visuals.widgets.noninteractive.bg_fill = theme.bg_card; + style.visuals.widgets.noninteractive.bg_stroke = Stroke::NONE; + style.visuals.widgets.noninteractive.fg_stroke = Stroke::new(1.0_f32, theme.text_muted); style.visuals.widgets.inactive.bg_fill = theme.bg_card_secondary; + style.visuals.widgets.inactive.bg_stroke = Stroke::NONE; style.visuals.widgets.inactive.rounding = Rounding::same(6.0); style.visuals.widgets.hovered.bg_fill = theme.bg_hover; + style.visuals.widgets.hovered.bg_stroke = Stroke::NONE; style.visuals.widgets.hovered.rounding = Rounding::same(6.0); style.visuals.widgets.active.bg_fill = Color32::from_rgb(37, 99, 235); style.visuals.widgets.active.rounding = Rounding::same(6.0); @@ -5014,11 +5019,11 @@ impl eframe::App for ZeroSendApp { SidePanel::left("sidebar_panel") .resizable(false) - .exact_width(195.0) + .show_separator_line(false) + .exact_width(200.0) .frame( Frame::none() .fill(theme.bg_sidebar) - .stroke(theme.stroke_subtle) .inner_margin(Margin::same(12.0)), ) .show(ctx, |ui| {