diff options
author | 2024-03-07 20:13:29 +0100 | |
---|---|---|
committer | 2024-03-07 20:13:29 +0100 | |
commit | e11776055dd6c79298c17e00a86ba43aba917bba (patch) | |
tree | 17b201ee2469ba8e4926bbf8900567831a25dcf7 /widget/src/combo_box.rs | |
parent | 833538ee7f3a60a839304762dfc29b0881d19094 (diff) | |
download | iced-e11776055dd6c79298c17e00a86ba43aba917bba.tar.gz iced-e11776055dd6c79298c17e00a86ba43aba917bba.tar.bz2 iced-e11776055dd6c79298c17e00a86ba43aba917bba.zip |
Make fields of `Style` structs public
Diffstat (limited to 'widget/src/combo_box.rs')
-rw-r--r-- | widget/src/combo_box.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<Theme> { /// 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<Theme>, + pub menu: menu::Style<Theme>, } impl Style<Theme> { |