diff options
author | 2020-07-10 02:50:47 +0200 | |
---|---|---|
committer | 2020-07-10 02:52:00 +0200 | |
commit | 73b8ae8e5e7f57c608c775272a2980995ab22bb3 (patch) | |
tree | 1315ae257af6598389750c392b0e52fd1a3cbf39 /graphics/src/widget | |
parent | 2118a726f8b6134820e1ca5b7b802fa1344e453a (diff) | |
download | iced-73b8ae8e5e7f57c608c775272a2980995ab22bb3.tar.gz iced-73b8ae8e5e7f57c608c775272a2980995ab22bb3.tar.bz2 iced-73b8ae8e5e7f57c608c775272a2980995ab22bb3.zip |
Rename `ComboBox` to `PickList`
Diffstat (limited to 'graphics/src/widget')
-rw-r--r-- | graphics/src/widget/pick_list.rs (renamed from graphics/src/widget/combo_box.rs) | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/src/widget/combo_box.rs b/graphics/src/widget/pick_list.rs index f200c2b7..f42a8707 100644 --- a/graphics/src/widget/combo_box.rs +++ b/graphics/src/widget/pick_list.rs @@ -6,14 +6,14 @@ use iced_native::{ }; use iced_style::menu; -pub use iced_native::combo_box::State; -pub use iced_style::combo_box::{Style, StyleSheet}; +pub use iced_native::pick_list::State; +pub use iced_style::pick_list::{Style, StyleSheet}; /// A widget allowing the selection of a single value from a list of options. -pub type ComboBox<'a, T, Message, Backend> = - iced_native::ComboBox<'a, T, Message, Renderer<Backend>>; +pub type PickList<'a, T, Message, Backend> = + iced_native::PickList<'a, T, Message, Renderer<Backend>>; -impl<B> iced_native::combo_box::Renderer for Renderer<B> +impl<B> iced_native::pick_list::Renderer for Renderer<B> where B: Backend + backend::Text, { |