From 9e04357d9ff5ac233d8b12928fce268eff6730e1 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Mon, 3 Jun 2024 19:03:33 -0600 Subject: [PATCH] Use solid scrollbar in egui Resolves #69 --- objdiff-gui/src/views/appearance.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/objdiff-gui/src/views/appearance.rs b/objdiff-gui/src/views/appearance.rs index 11ec978..11c7915 100644 --- a/objdiff-gui/src/views/appearance.rs +++ b/objdiff-gui/src/views/appearance.rs @@ -119,6 +119,8 @@ impl Appearance { self.delete_color = Color32::from_rgb(200, 40, 41); } } + style.spacing.scroll = egui::style::ScrollStyle::solid(); + style.spacing.scroll.bar_width = 10.0; ctx.set_style(style); }