From 749a9588d738de9c3ae734e6f026768c77eb3cce Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 31 Mar 2020 01:19:28 +0200 Subject: Implement `padding` support for `Container` --- examples/clock/src/main.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/clock/src/main.rs') diff --git a/examples/clock/src/main.rs b/examples/clock/src/main.rs index d8266f06..62acb457 100644 --- a/examples/clock/src/main.rs +++ b/examples/clock/src/main.rs @@ -66,6 +66,7 @@ impl Application for Clock { Container::new(canvas) .width(Length::Fill) .height(Length::Fill) + .padding(20) .center_x() .center_y() .into() -- cgit