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,4 +1,4 @@
|
|||
use iced::widget::{center, column, combo_box, scrollable, space_y, text};
|
||||
use iced::widget::{center, column, combo_box, scrollable, space, text};
|
||||
use iced::{Center, Element, Fill};
|
||||
|
||||
pub fn main() -> iced::Result {
|
||||
|
|
@ -60,7 +60,7 @@ impl Example {
|
|||
text(&self.text),
|
||||
"What is your language?",
|
||||
combo_box,
|
||||
space_y().height(150),
|
||||
space().height(150),
|
||||
]
|
||||
.width(Fill)
|
||||
.align_x(Center)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue