diff options
author | 2024-03-24 05:03:09 +0100 | |
---|---|---|
committer | 2024-03-24 05:03:09 +0100 | |
commit | f0ae9a0c38c2532220a7460916604914db94c078 (patch) | |
tree | a1f0d1732108fa87ce4a63e76def9c38c8804d5d /widget/src/themer.rs | |
parent | e657dc2ecd2ffa72c0abd87f9a59dcc1acbc7083 (diff) | |
download | iced-f0ae9a0c38c2532220a7460916604914db94c078.tar.gz iced-f0ae9a0c38c2532220a7460916604914db94c078.tar.bz2 iced-f0ae9a0c38c2532220a7460916604914db94c078.zip |
Use `Catalog` approach for all widgets
Diffstat (limited to '')
-rw-r--r-- | widget/src/themer.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/src/themer.rs b/widget/src/themer.rs index a7eabd2c..f4597458 100644 --- a/widget/src/themer.rs +++ b/widget/src/themer.rs @@ -155,9 +155,9 @@ where if let Some(background) = self.background { container::draw_background( renderer, - &container::Appearance { + &container::Style { background: Some(background(&theme)), - ..container::Appearance::default() + ..container::Style::default() }, layout.bounds(), ); |