Rename space_{x,y} to space::{horizontal,vertical}
This commit is contained in:
parent
299eb54d6f
commit
611f89fc59
25 changed files with 143 additions and 142 deletions
|
|
@ -1,5 +1,5 @@
|
|||
use iced::widget::{
|
||||
button, column, lazy, pick_list, row, scrollable, space_x, text, text_input,
|
||||
button, column, lazy, pick_list, row, scrollable, space, text, text_input,
|
||||
};
|
||||
use iced::{Element, Fill};
|
||||
|
||||
|
|
@ -173,7 +173,7 @@ impl App {
|
|||
|
||||
row![
|
||||
text(item.name.clone()).color(item.color),
|
||||
space_x(),
|
||||
space::horizontal(),
|
||||
pick_list(Color::ALL, Some(item.color), move |color| {
|
||||
Message::ItemColorChanged(item.clone(), color)
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue