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