summaryrefslogtreecommitdiffstats
path: root/examples/toast
diff options
context:
space:
mode:
Diffstat (limited to 'examples/toast')
-rw-r--r--examples/toast/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/toast/src/main.rs b/examples/toast/src/main.rs
index 7f067e2f..ae947acb 100644
--- a/examples/toast/src/main.rs
+++ b/examples/toast/src/main.rs
@@ -274,7 +274,7 @@ mod toast {
container(
row![
text(toast.title.as_str()),
- horizontal_space(Length::Fill),
+ horizontal_space(),
button("X")
.on_press((on_close)(index))
.padding(3),