summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/todos/src/main.rs1
1 files changed, 1 insertions, 0 deletions
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]),