diff options
-rw-r--r-- | widget/src/combo_box.rs | 4 | ||||
-rw-r--r-- | widget/src/overlay/menu.rs | 4 |
2 files changed, 4 insertions, 4 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> { diff --git a/widget/src/overlay/menu.rs b/widget/src/overlay/menu.rs index 3ed26b7d..e855fc14 100644 --- a/widget/src/overlay/menu.rs +++ b/widget/src/overlay/menu.rs @@ -602,9 +602,9 @@ pub struct Appearance { #[derive(Debug, PartialEq, Eq)] pub struct Style<Theme> { /// The style of the list of the [`Menu`]. - list: fn(&Theme) -> Appearance, + pub list: fn(&Theme) -> Appearance, /// The style of the [`Scrollable`] of the [`Menu`]. - scrollable: fn(&Theme, scrollable::Status) -> scrollable::Appearance, + pub scrollable: fn(&Theme, scrollable::Status) -> scrollable::Appearance, } impl Style<Theme> { |