diff --git a/crates/epaint/src/text/text_layout_types.rs b/crates/epaint/src/text/text_layout_types.rs index df20c63c31d..2eca9c313f9 100644 --- a/crates/epaint/src/text/text_layout_types.rs +++ b/crates/epaint/src/text/text_layout_types.rs @@ -182,7 +182,7 @@ impl LayoutJob { // On a previous pass we may have rounded down by at most 0.5 and reported that as a width. // egui may then set that width as the max width for subsequent frames, and it is important // that we then don't wrap earlier. - self.wrap.max_width + 0.5 + self.wrap.max_width + 16.0 } else { self.wrap.max_width }