diff options
| author | 2020-01-23 15:10:31 +0100 | |
|---|---|---|
| committer | 2020-01-23 15:10:31 +0100 | |
| commit | 7f4ca711252d3994fc94218230677e026408a254 (patch) | |
| tree | 6f5922a76923171a72c91351faef45d866647e83 /examples | |
| parent | 63fc539a251b00333fb140717180b315b119c886 (diff) | |
| download | iced-7f4ca711252d3994fc94218230677e026408a254.tar.gz iced-7f4ca711252d3994fc94218230677e026408a254.tar.bz2 iced-7f4ca711252d3994fc94218230677e026408a254.zip | |
Fix empty message alignment in `todos` example
Diffstat (limited to '')
| -rw-r--r-- | examples/todos/src/main.rs | 1 |
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]), |
