Use Style struct pattern instead of trait for all widgets

This commit is contained in:
Héctor Ramón Jiménez 2024-03-06 20:30:58 +01:00
parent 8a63774b24
commit 34e7c6593a
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
25 changed files with 466 additions and 282 deletions

View file

@ -84,7 +84,7 @@ impl Sandbox for Gradient {
};
let gradient_box = themer(
move |_| appearance,
appearance,
container(horizontal_space())
.width(Length::Fill)
.height(Length::Fill),