Added ability to customize accessory content.

This commit is contained in:
Casper Rogild Storm 2022-11-29 11:36:00 +01:00
parent 8d67e21d48
commit 0974e9e865
No known key found for this signature in database
GPG key ID: 8F52569F9DDB2ECC
4 changed files with 87 additions and 19 deletions

View file

@ -80,7 +80,9 @@ 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::{
AccessoryContent, Appearance, StyleSheet,
};
/// A widget allowing the selection of a single value from a list of options.
pub type PickList<'a, T, Message, Renderer = crate::Renderer> =