Try catalog theming approach with Button
This commit is contained in:
parent
2b00e8b145
commit
999ad2d288
5 changed files with 89 additions and 55 deletions
|
|
@ -117,7 +117,7 @@ pub fn button<'a, Message, Theme, Renderer>(
|
|||
content: impl Into<Element<'a, Message, Theme, Renderer>>,
|
||||
) -> Button<'a, Message, Theme, Renderer>
|
||||
where
|
||||
Theme: button::DefaultStyle + 'a,
|
||||
Theme: button::Catalog + 'a,
|
||||
Renderer: core::Renderer,
|
||||
{
|
||||
Button::new(content)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue