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,8 @@
|
|||
use iced::keyboard;
|
||||
use iced::widget::{
|
||||
button, center_x, center_y, checkbox, column, container, pick_list,
|
||||
progress_bar, row, rule, scrollable, slider, text, text_input, toggler,
|
||||
vertical_space,
|
||||
progress_bar, row, rule, scrollable, slider, space_y, text, text_input,
|
||||
toggler,
|
||||
};
|
||||
use iced::{Center, Element, Fill, Shrink, Subscription, Theme};
|
||||
|
||||
|
|
@ -127,7 +127,7 @@ impl Styling {
|
|||
|
||||
let scroll_me = scrollable(column![
|
||||
"Scroll me!",
|
||||
vertical_space().height(800),
|
||||
space_y().height(800),
|
||||
"You did it!"
|
||||
])
|
||||
.width(Fill)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue