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/overlay/menu.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widget/src/overlay') 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 { /// 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 { -- cgit