diff --git a/crates/egui/src/style.rs b/crates/egui/src/style.rs index f9fe5d5ff..5706fc818 100644 --- a/crates/egui/src/style.rs +++ b/crates/egui/src/style.rs @@ -1302,7 +1302,7 @@ impl Visuals { text_cursor: Default::default(), - clip_rect_margin: 0.0, // should be at least half the size of the widest frame stroke + max WidgetVisuals::expansion + clip_rect_margin: 0.0, button_frame: true, collapsing_header_frame: false, indent_has_left_vline: true,