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
|
|
@ -8,7 +8,7 @@ use crate::core::{
|
|||
self, Clipboard, Element, Event, Length, Rectangle, Shell, Size, Vector,
|
||||
Widget,
|
||||
};
|
||||
use crate::horizontal_space;
|
||||
use crate::space_x;
|
||||
|
||||
/// A widget that is aware of its dimensions.
|
||||
///
|
||||
|
|
@ -44,7 +44,7 @@ where
|
|||
view: Box::new(view),
|
||||
width: Length::Fill,
|
||||
height: Length::Fill,
|
||||
content: Element::new(horizontal_space().width(0)),
|
||||
content: Element::new(space_x().width(0)),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue