summaryrefslogtreecommitdiffstats
path: root/examples/editor
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-02-07 21:48:28 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-02-07 21:48:28 +0100
commit2ba73b0faf04c21053f279e7c189b28ca718d853 (patch)
tree482aa7ceac3e22533cb0a1732c951337765e68a8 /examples/editor
parent8b492a9b443993f1db2d3df31a29bc68738d73c9 (diff)
downloadiced-2ba73b0faf04c21053f279e7c189b28ca718d853.tar.gz
iced-2ba73b0faf04c21053f279e7c189b28ca718d853.tar.bz2
iced-2ba73b0faf04c21053f279e7c189b28ca718d853.zip
Fix wrapped lines not being considered when measuring `TextEditor`
Diffstat (limited to 'examples/editor')
-rw-r--r--examples/editor/src/main.rs1
1 files changed, 1 insertions, 0 deletions
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>(
highlighter::Settings {