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,6 @@
|
|||
use iced::widget::{
|
||||
button, center, center_x, column, container, horizontal_space, operation,
|
||||
scrollable, text, text_input,
|
||||
button, center, center_x, column, container, operation, scrollable,
|
||||
space_x, text, text_input,
|
||||
};
|
||||
use iced::window;
|
||||
use iced::{
|
||||
|
|
@ -134,7 +134,7 @@ impl Example {
|
|||
if let Some(window) = self.windows.get(&window_id) {
|
||||
center(window.view(window_id)).into()
|
||||
} else {
|
||||
horizontal_space().into()
|
||||
space_x().into()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue