diff options
author | 2022-12-14 03:29:20 +0100 | |
---|---|---|
committer | 2022-12-14 03:31:12 +0100 | |
commit | 39f49186cefa688a1cc80ed754ec4028c642636a (patch) | |
tree | 0cbc0a818a9b6259c6faf72cf1090c7b489e25a1 /style | |
parent | fe5ab1ee87ede2d80212aa58724fd5ed463f58e4 (diff) | |
download | iced-39f49186cefa688a1cc80ed754ec4028c642636a.tar.gz iced-39f49186cefa688a1cc80ed754ec4028c642636a.tar.bz2 iced-39f49186cefa688a1cc80ed754ec4028c642636a.zip |
Rename `pick_list::AccessoryContent` to `Handle`
... and rename `Default` variant to `Arrow`.
Diffstat (limited to 'style')
-rw-r--r-- | style/src/pick_list.rs | 4 | ||||
-rw-r--r-- | style/src/theme.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/style/src/pick_list.rs b/style/src/pick_list.rs index 877a58da..11e13b01 100644 --- a/style/src/pick_list.rs +++ b/style/src/pick_list.rs @@ -8,8 +8,8 @@ pub struct Appearance { pub text_color: Color, /// The placeholder [`Color`] of the pick list. pub placeholder_color: Color, - /// The accessory content [`Color`] of the pick list. - pub accessory_content_color: Color, + /// The handle [`Color`] of the pick list. + pub handle_color: Color, /// The [`Background`] of the pick list. pub background: Background, /// The border radius of the pick list. diff --git a/style/src/theme.rs b/style/src/theme.rs index 81bcfa67..bd0ae28e 100644 --- a/style/src/theme.rs +++ b/style/src/theme.rs @@ -534,7 +534,7 @@ impl pick_list::StyleSheet for Theme { text_color: palette.background.weak.text, background: palette.background.weak.color.into(), placeholder_color: palette.background.strong.color, - accessory_content_color: palette.background.weak.text, + handle_color: palette.background.weak.text, border_radius: 2.0, border_width: 1.0, border_color: palette.background.strong.color, @@ -553,7 +553,7 @@ impl pick_list::StyleSheet for Theme { text_color: palette.background.weak.text, background: palette.background.weak.color.into(), placeholder_color: palette.background.strong.color, - accessory_content_color: palette.background.weak.text, + handle_color: palette.background.weak.text, border_radius: 2.0, border_width: 1.0, border_color: palette.primary.strong.color, |