Use Style struct pattern instead of trait for all widgets
This commit is contained in:
parent
8a63774b24
commit
34e7c6593a
25 changed files with 466 additions and 282 deletions
|
|
@ -84,7 +84,7 @@ impl Sandbox for Gradient {
|
|||
};
|
||||
|
||||
let gradient_box = themer(
|
||||
move |_| appearance,
|
||||
appearance,
|
||||
container(horizontal_space())
|
||||
.width(Length::Fill)
|
||||
.height(Length::Fill),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue