From 90a664f94bcab16976f7efe03eb6adb62428c961 Mon Sep 17 00:00:00 2001 From: rustbasic <127506429+rustbasic@users.noreply.github.com> Date: Fri, 27 Dec 2024 17:53:03 +0900 Subject: [PATCH] Update main.rs --- examples/custom_window_frame/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/custom_window_frame/src/main.rs b/examples/custom_window_frame/src/main.rs index de36585946a..86e82759f40 100644 --- a/examples/custom_window_frame/src/main.rs +++ b/examples/custom_window_frame/src/main.rs @@ -49,7 +49,7 @@ fn custom_window_frame(ctx: &egui::Context, title: &str, add_contents: impl FnOn fill: ctx.style().visuals.window_fill(), rounding: 10.0.into(), stroke: ctx.style().visuals.widgets.noninteractive.fg_stroke, - outer_margin: 0.5.into(), // so the stroke is within the bounds + outer_margin: 1.0.into(), // so the stroke is within the bounds ..Default::default() };