diff --git a/src/layout/mod.rs b/src/layout/mod.rs index b2b102645..f937a0544 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -144,7 +144,7 @@ impl LayoutSpace { /// The offset from the origin to the start of content, that is, /// `(padding.left, padding.top)`. pub fn start(&self) -> Size2D { - Size2D::new(self.padding.left, self.padding.right) + Size2D::new(self.padding.left, self.padding.top) } /// The actually usable area (dimensions minus padding).