Try catalog theming approach with Button
This commit is contained in:
parent
2b00e8b145
commit
999ad2d288
5 changed files with 89 additions and 55 deletions
|
|
@ -74,7 +74,7 @@ mod numeric_input {
|
|||
impl<Message, Theme> Component<Message, Theme> for NumericInput<Message>
|
||||
where
|
||||
Theme: text::DefaultStyle
|
||||
+ button::DefaultStyle
|
||||
+ button::Catalog
|
||||
+ text_input::DefaultStyle
|
||||
+ 'static,
|
||||
{
|
||||
|
|
@ -152,7 +152,7 @@ mod numeric_input {
|
|||
for Element<'a, Message, Theme>
|
||||
where
|
||||
Theme: text::DefaultStyle
|
||||
+ button::DefaultStyle
|
||||
+ button::Catalog
|
||||
+ text_input::DefaultStyle
|
||||
+ 'static,
|
||||
Message: 'a,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue