Try catalog theming approach with Button

This commit is contained in:
Héctor Ramón Jiménez 2024-03-23 19:23:08 +01:00
parent 2b00e8b145
commit 999ad2d288
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
5 changed files with 89 additions and 55 deletions

View file

@ -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,