From 0974e9e86523174e7a07d992b48d681aa07d4a7e Mon Sep 17 00:00:00 2001 From: Casper Rogild Storm <2248455+casperstorm@users.noreply.github.com> Date: Tue, 29 Nov 2022 11:36:00 +0100 Subject: Added ability to customize accessory content. --- style/src/pick_list.rs | 2 -- style/src/theme.rs | 2 -- 2 files changed, 4 deletions(-) (limited to 'style/src') diff --git a/style/src/pick_list.rs b/style/src/pick_list.rs index 8d93dff2..103cc026 100644 --- a/style/src/pick_list.rs +++ b/style/src/pick_list.rs @@ -16,8 +16,6 @@ pub struct Appearance { pub border_width: f32, /// The border color of the pick list. pub border_color: Color, - /// The size of the arrow icon of the pick list. - pub icon_size: f32, } /// A set of rules that dictate the style of a container. diff --git a/style/src/theme.rs b/style/src/theme.rs index d7ebb827..3b38c2c1 100644 --- a/style/src/theme.rs +++ b/style/src/theme.rs @@ -537,7 +537,6 @@ impl pick_list::StyleSheet for Theme { border_radius: 2.0, border_width: 1.0, border_color: palette.background.strong.color, - icon_size: 0.7, } } PickList::Custom(custom, _) => custom.active(self), @@ -556,7 +555,6 @@ impl pick_list::StyleSheet for Theme { border_radius: 2.0, border_width: 1.0, border_color: palette.primary.strong.color, - icon_size: 0.7, } } PickList::Custom(custom, _) => custom.active(self), -- cgit