diff options
author | 2024-02-07 22:00:53 +0100 | |
---|---|---|
committer | 2024-02-07 22:00:53 +0100 | |
commit | 111c8bfa7965cad8fe7253c8601e620b8582eaaf (patch) | |
tree | 549936d3630b06eeb6cc3349a38f0bc5bcf92226 /examples | |
parent | 5630febf963ffcdd9eb1e0e8581a65a08d501467 (diff) | |
parent | 4d7356e5e44821402df0531943681a1f3f17d385 (diff) | |
download | iced-111c8bfa7965cad8fe7253c8601e620b8582eaaf.tar.gz iced-111c8bfa7965cad8fe7253c8601e620b8582eaaf.tar.bz2 iced-111c8bfa7965cad8fe7253c8601e620b8582eaaf.zip |
Merge pull request #2221 from Dworv/text-shrink
Text editor shrinking to content
Diffstat (limited to '')
-rw-r--r-- | examples/editor/src/main.rs | 1 |
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 { |