From 3cdb667cd603556b67907ccd6960747f54ec92b0 Mon Sep 17 00:00:00 2001 From: Andrew Farkas <6060305+HactarCE@users.noreply.github.com> Date: Tue, 18 Jun 2024 15:57:19 -0400 Subject: [PATCH] Fix typo in docs of `Ui::shrink_height_to_current()` (#4672) --- crates/egui/src/ui.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui/src/ui.rs b/crates/egui/src/ui.rs index 84cc5684..f24a8a37 100644 --- a/crates/egui/src/ui.rs +++ b/crates/egui/src/ui.rs @@ -739,7 +739,7 @@ impl Ui { } /// Helper: shrinks the max height to the current height, - /// so further widgets will try not to be wider than previous widgets. + /// so further widgets will try not to be taller than previous widgets. pub fn shrink_height_to_current(&mut self) { self.set_max_height(self.min_rect().height()); }