From 458871583eefd30eafb91951f33da709248bfb4b Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Fri, 3 Jan 2025 15:00:28 +0100 Subject: [PATCH] Fix incorrect docstring --- crates/egui/src/containers/frame.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui/src/containers/frame.rs b/crates/egui/src/containers/frame.rs index 5785b329735..64b38582b9c 100644 --- a/crates/egui/src/containers/frame.rs +++ b/crates/egui/src/containers/frame.rs @@ -10,7 +10,7 @@ use epaint::{Color32, Margin, Marginf, Rect, Rounding, Shadow, Shape, Stroke}; /// /// ## Definitions /// The total (outer) size of a frame is -/// `content_size + inner_margin + stroke.width + outer_margin`. +/// `content_size + inner_margin + 2 * stroke.width + outer_margin`. /// /// Everything within the stroke is filled with the fill color (if any). ///