From 2ba73b0faf04c21053f279e7c189b28ca718d853 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Wed, 7 Feb 2024 21:48:28 +0100 Subject: Fix wrapped lines not being considered when measuring `TextEditor` --- examples/editor/src/main.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/editor/src') diff --git a/examples/editor/src/main.rs b/examples/editor/src/main.rs index bf2aaaa3..75b66264 100644 --- a/examples/editor/src/main.rs +++ b/examples/editor/src/main.rs @@ -191,6 +191,7 @@ impl Application for Editor { column![ controls, text_editor(&self.content) + .height(Length::Fill) .on_action(Message::ActionPerformed) .highlight::( highlighter::Settings { -- cgit