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
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue