From e11776055dd6c79298c17e00a86ba43aba917bba Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 7 Mar 2024 20:13:29 +0100 Subject: Make fields of `Style` structs public --- widget/src/combo_box.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widget/src/combo_box.rs') diff --git a/widget/src/combo_box.rs b/widget/src/combo_box.rs index 44830d8a..933a0fac 100644 --- a/widget/src/combo_box.rs +++ b/widget/src/combo_box.rs @@ -766,10 +766,10 @@ where #[derive(Debug, PartialEq, Eq)] pub struct Style { /// The style of the [`TextInput`] of the [`ComboBox`]. - text_input: fn(&Theme, text_input::Status) -> text_input::Appearance, + pub text_input: fn(&Theme, text_input::Status) -> text_input::Appearance, /// The style of the [`Menu`] of the [`ComboBox`]. - menu: menu::Style, + pub menu: menu::Style, } impl Style { -- cgit