From 7f4ca711252d3994fc94218230677e026408a254 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Thu, 23 Jan 2020 15:10:31 +0100 Subject: [PATCH] Fix empty message alignment in `todos` example --- examples/todos/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/todos/src/main.rs b/examples/todos/src/main.rs index c6ddf2ea..bfae5e88 100644 --- a/examples/todos/src/main.rs +++ b/examples/todos/src/main.rs @@ -438,6 +438,7 @@ fn loading_message() -> Element<'static, Message> { fn empty_message(message: &str) -> Element<'static, Message> { Container::new( Text::new(message) + .width(Length::Fill) .size(25) .horizontal_alignment(HorizontalAlignment::Center) .color([0.7, 0.7, 0.7]),