diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-12-08 19:46:06 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-12-08 19:46:06 +0100 |
| commit | 495b525694aa5901385f3acad043b4a9f3ebb911 (patch) | |
| tree | 36be972fb666b61309b7538335de1a7313c46c8f /library/src/shared/ext.rs | |
| parent | e6857f810e8868d95ebe78753568016b6dea12ca (diff) | |
Naming consistency
Diffstat (limited to 'library/src/shared/ext.rs')
| -rw-r--r-- | library/src/shared/ext.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/src/shared/ext.rs b/library/src/shared/ext.rs index 3c20c90f..811ae757 100644 --- a/library/src/shared/ext.rs +++ b/library/src/shared/ext.rs @@ -53,19 +53,19 @@ impl ContentExt for Content { } fn boxed(self, sizing: Axes<Option<Rel<Length>>>) -> Self { - crate::layout::BoxNode { sizing, child: self }.pack() + crate::layout::BoxNode { sizing, body: self }.pack() } fn aligned(self, aligns: Axes<Option<GenAlign>>) -> Self { - crate::layout::AlignNode { aligns, child: self }.pack() + crate::layout::AlignNode { aligns, body: self }.pack() } fn padded(self, padding: Sides<Rel<Length>>) -> Self { - crate::layout::PadNode { padding, child: self }.pack() + crate::layout::PadNode { padding, body: self }.pack() } fn moved(self, delta: Axes<Rel<Length>>) -> Self { - crate::layout::MoveNode { delta, child: self }.pack() + crate::layout::MoveNode { delta, body: self }.pack() } fn filled(self, fill: Paint) -> Self { |
