From ed8916d6743f4212b9ef7fae4ec4e781d6c7a59c Mon Sep 17 00:00:00 2001 From: rustbasic <127506429+rustbasic@users.noreply.github.com> Date: Fri, 26 Jan 2024 19:48:21 +0900 Subject: [PATCH] Update label.rs `truncate` default value is `true` to prevent egui::window size from increasing. --- crates/egui/src/widgets/label.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui/src/widgets/label.rs b/crates/egui/src/widgets/label.rs index b68fb4337e1..42ed93ab2cb 100644 --- a/crates/egui/src/widgets/label.rs +++ b/crates/egui/src/widgets/label.rs @@ -33,7 +33,7 @@ impl Label { Self { text: text.into(), wrap: None, - truncate: false, + truncate: true, sense: None, selectable: None, }