Rename space_{x,y} to space::{horizontal,vertical}

This commit is contained in:
Héctor Ramón Jiménez 2025-09-17 23:49:01 +02:00
parent 299eb54d6f
commit 611f89fc59
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
25 changed files with 143 additions and 142 deletions

View file

@ -8,7 +8,7 @@ use crate::core::{
self, Clipboard, Element, Event, Length, Rectangle, Shell, Size, Vector,
Widget,
};
use crate::space_x;
use crate::space;
/// A widget that is aware of its dimensions.
///
@ -43,7 +43,7 @@ where
view: Box::new(view),
width: Length::Fill,
height: Length::Fill,
content: Element::new(space_x().width(0)),
content: Element::new(space()),
}
}