From 61f22b1db23f3495145a9a4f7255311fe8381998 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 11 Jun 2020 20:41:11 +0200 Subject: Add styling support for `ComboBox` and `Menu` --- glow/src/widget/combo_box.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'glow/src') diff --git a/glow/src/widget/combo_box.rs b/glow/src/widget/combo_box.rs index bb3931ef..bfface29 100644 --- a/glow/src/widget/combo_box.rs +++ b/glow/src/widget/combo_box.rs @@ -1,3 +1,8 @@ pub use iced_native::combo_box::State; -pub type ComboBox<'a, T, Message> = iced_native::ComboBox<'a, T, Message>; +pub use iced_graphics::combo_box::{Style, StyleSheet}; +pub use iced_graphics::overlay::menu::Style as Menu; + +/// A widget allowing the selection of a single value from a list of options. +pub type ComboBox<'a, T, Message> = + iced_native::ComboBox<'a, T, Message, crate::Renderer>; -- cgit