From e8049af23dbf4988ff24b75b90104295f61098a2 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 15 Feb 2024 02:08:22 +0100 Subject: Make `horizontal_space` and `vertical_space` fill by default --- examples/editor/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/editor/src') diff --git a/examples/editor/src/main.rs b/examples/editor/src/main.rs index 75b66264..53c9cf7c 100644 --- a/examples/editor/src/main.rs +++ b/examples/editor/src/main.rs @@ -155,7 +155,7 @@ impl Application for Editor { "Save file", self.is_dirty.then_some(Message::SaveFile) ), - horizontal_space(Length::Fill), + horizontal_space(), pick_list( highlighter::Theme::ALL, Some(self.theme), @@ -179,7 +179,7 @@ impl Application for Editor { } else { String::from("New file") }), - horizontal_space(Length::Fill), + horizontal_space(), text({ let (line, column) = self.content.cursor_position(); -- cgit