diff options
author | 2024-01-20 13:34:07 +0100 | |
---|---|---|
committer | 2024-01-20 13:34:07 +0100 | |
commit | bf375587aa52808cdabf4191571f20784315ea99 (patch) | |
tree | a723b82d7712fc775cce126b8e45e31bafd22e10 /style/src/container.rs | |
parent | e736038d5ff9adb9c011326879d4c772338d12d9 (diff) | |
download | iced-bf375587aa52808cdabf4191571f20784315ea99.tar.gz iced-bf375587aa52808cdabf4191571f20784315ea99.tar.bz2 iced-bf375587aa52808cdabf4191571f20784315ea99.zip |
Add `Shadow` to `container::Appearance`
Diffstat (limited to 'style/src/container.rs')
-rw-r--r-- | style/src/container.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/style/src/container.rs b/style/src/container.rs index a490c187..00649c25 100644 --- a/style/src/container.rs +++ b/style/src/container.rs @@ -1,5 +1,5 @@ //! Change the appearance of a container. -use crate::core::{Background, Border, Color, Pixels}; +use crate::core::{Background, Border, Color, Pixels, Shadow}; /// The appearance of a container. #[derive(Debug, Clone, Copy, Default)] @@ -10,6 +10,8 @@ pub struct Appearance { pub background: Option<Background>, /// The [`Border`] of the container. pub border: Border, + /// The [`Shadow`] of the container. + pub shadow: Shadow, } impl Appearance { |