diff options
author | 2020-03-31 01:19:28 +0200 | |
---|---|---|
committer | 2020-03-31 01:21:51 +0200 | |
commit | 749a9588d738de9c3ae734e6f026768c77eb3cce (patch) | |
tree | 719597f4577c9329e738389847ff9224c2ac075d /examples/clock | |
parent | 6e9ab1cd6f5358d323040379e3aadbed2cc4f7f8 (diff) | |
download | iced-749a9588d738de9c3ae734e6f026768c77eb3cce.tar.gz iced-749a9588d738de9c3ae734e6f026768c77eb3cce.tar.bz2 iced-749a9588d738de9c3ae734e6f026768c77eb3cce.zip |
Implement `padding` support for `Container`
Diffstat (limited to 'examples/clock')
-rw-r--r-- | examples/clock/src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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() |