From b1b34de4eedaa67f97f5ff2af8042aea8cf88138 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Fri, 27 Nov 2020 15:46:16 +0100 Subject: [PATCH] [style] Tweak clip_rect_margin to allow frames around ScrollArea:s --- egui/src/style.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egui/src/style.rs b/egui/src/style.rs index 3ebc0bcb..87ad36e1 100644 --- a/egui/src/style.rs +++ b/egui/src/style.rs @@ -262,7 +262,7 @@ impl Default for Visuals { window_corner_radius: 10.0, resize_corner_size: 12.0, text_cursor_width: 2.0, - clip_rect_margin: 3.0, + clip_rect_margin: 1.0, // should be half the size of the widest frame stroke debug_expand_width: false, debug_expand_height: false, debug_resize: false,