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,4 +1,4 @@
|
|||
use iced::widget::{column, pick_list, scrollable, vertical_space};
|
||||
use iced::widget::{column, pick_list, scrollable, space_y};
|
||||
use iced::{Center, Element, Fill};
|
||||
|
||||
pub fn main() -> iced::Result {
|
||||
|
|
@ -33,10 +33,10 @@ impl Example {
|
|||
.placeholder("Choose a language...");
|
||||
|
||||
let content = column![
|
||||
vertical_space().height(600),
|
||||
space_y().height(600),
|
||||
"Which is your favorite language?",
|
||||
pick_list,
|
||||
vertical_space().height(600),
|
||||
space_y().height(600),
|
||||
]
|
||||
.width(Fill)
|
||||
.align_x(Center)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue