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

@ -1,8 +1,6 @@
use iced::gradient;
use iced::theme;
use iced::widget::{
checkbox, column, container, horizontal_space, row, slider, text,
};
use iced::widget::{checkbox, column, container, row, slider, space_x, text};
use iced::{Center, Color, Element, Fill, Radians, Theme, color};
pub fn main() -> iced::Result {
@ -59,7 +57,7 @@ impl Gradient {
transparent,
} = *self;
let gradient_box = container(horizontal_space())
let gradient_box = container(space_x())
.style(move |_theme| {
let gradient = gradient::Linear::new(angle)
.add_stop(0.0, start)