Rename *_space to space_x and space_y
This commit is contained in:
parent
c684fbd6af
commit
89b7585465
22 changed files with 92 additions and 113 deletions
|
|
@ -171,9 +171,7 @@ mod toast {
|
|||
use iced::mouse;
|
||||
use iced::theme;
|
||||
use iced::time::{self, Duration, Instant};
|
||||
use iced::widget::{
|
||||
button, column, container, horizontal_space, row, rule, text,
|
||||
};
|
||||
use iced::widget::{button, column, container, row, rule, space_x, text};
|
||||
use iced::window;
|
||||
use iced::{
|
||||
Alignment, Center, Element, Event, Fill, Length, Point, Rectangle,
|
||||
|
|
@ -239,7 +237,7 @@ mod toast {
|
|||
container(
|
||||
row![
|
||||
text(toast.title.as_str()),
|
||||
horizontal_space(),
|
||||
space_x(),
|
||||
button("X")
|
||||
.on_press((on_close)(index))
|
||||
.padding(3),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue