summaryrefslogtreecommitdiffstats
path: root/pure/src/helpers.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-06-07 04:51:44 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-06-07 04:51:44 +0200
commit396735b682433928f52ba777891e14f2fbc703c7 (patch)
treebd275980a2fe6bc2efa7288f08db007dcaa7b6a4 /pure/src/helpers.rs
parent97555e67af8b4bcc77df69c5e72156e14948150e (diff)
downloadiced-396735b682433928f52ba777891e14f2fbc703c7.tar.gz
iced-396735b682433928f52ba777891e14f2fbc703c7.tar.bz2
iced-396735b682433928f52ba777891e14f2fbc703c7.zip
Implement theme styling for `PickList` and `Menu`
Diffstat (limited to 'pure/src/helpers.rs')
-rw-r--r--pure/src/helpers.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/pure/src/helpers.rs b/pure/src/helpers.rs
index 216dab53..18791945 100644
--- a/pure/src/helpers.rs
+++ b/pure/src/helpers.rs
@@ -179,6 +179,7 @@ where
T: ToString + Eq + 'static,
[T]: ToOwned<Owned = Vec<T>>,
Renderer: iced_native::text::Renderer,
+ Renderer::Theme: widget::pick_list::StyleSheet,
{
widget::PickList::new(options, selected, on_selected)
}