summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-23 19:23:08 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-23 19:23:08 +0100
commit999ad2d288a9354f045bb2e1b838014b3d302779 (patch)
treed0daaae6ce58ca8e9e34ee1fc3bd6ab6a7a9ea17 /examples
parent2b00e8b1457b0ccbafe12db3dbd6431c2c72f275 (diff)
downloadiced-999ad2d288a9354f045bb2e1b838014b3d302779.tar.gz
iced-999ad2d288a9354f045bb2e1b838014b3d302779.tar.bz2
iced-999ad2d288a9354f045bb2e1b838014b3d302779.zip
Try catalog theming approach with `Button`
Diffstat (limited to 'examples')
-rw-r--r--examples/component/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/component/src/main.rs b/examples/component/src/main.rs
index 43ba3187..d5626087 100644
--- a/examples/component/src/main.rs
+++ b/examples/component/src/main.rs
@@ -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,