Rename *_space to space_x and space_y

This commit is contained in:
Héctor Ramón Jiménez 2025-09-11 07:10:53 +02:00
parent c684fbd6af
commit 89b7585465
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
22 changed files with 92 additions and 113 deletions

View file

@ -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),