Make horizontal_space and vertical_space fill by default
This commit is contained in:
parent
9dd20ead08
commit
e8049af23d
16 changed files with 54 additions and 46 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue