Merge pull request #1562 from casperstorm/feat/custom-accessory-content

Added ability to customize the handle of a `pick_list`
This commit is contained in:
Héctor Ramón 2023-01-02 20:36:40 +01:00 committed by GitHub
commit da1b375579
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 88 additions and 19 deletions

View file

@ -80,7 +80,7 @@ pub mod pane_grid {
pub mod pick_list {
//! Display a dropdown list of selectable values.
pub use iced_native::widget::pick_list::{Appearance, StyleSheet};
pub use iced_native::widget::pick_list::{Appearance, Handle, StyleSheet};
/// A widget allowing the selection of a single value from a list of options.
pub type PickList<'a, T, Message, Renderer = crate::Renderer> =