diff options
author | 2023-01-02 20:36:40 +0100 | |
---|---|---|
committer | 2023-01-02 20:36:40 +0100 | |
commit | da1b375579c0d4e7a6bd463c8e000af5668354ae (patch) | |
tree | 6eb2dffa65a0cf91762c160f43d02c16df796bd1 /style/src/pick_list.rs | |
parent | d956b8a9fb9d0f18c5568c91fc7b97900477a68e (diff) | |
parent | 39f49186cefa688a1cc80ed754ec4028c642636a (diff) | |
download | iced-da1b375579c0d4e7a6bd463c8e000af5668354ae.tar.gz iced-da1b375579c0d4e7a6bd463c8e000af5668354ae.tar.bz2 iced-da1b375579c0d4e7a6bd463c8e000af5668354ae.zip |
Merge pull request #1562 from casperstorm/feat/custom-accessory-content
Added ability to customize the handle of a `pick_list`
Diffstat (limited to 'style/src/pick_list.rs')
-rw-r--r-- | style/src/pick_list.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/style/src/pick_list.rs b/style/src/pick_list.rs index 8d93dff2..11e13b01 100644 --- a/style/src/pick_list.rs +++ b/style/src/pick_list.rs @@ -8,6 +8,8 @@ pub struct Appearance { pub text_color: Color, /// The placeholder [`Color`] of the pick list. pub placeholder_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. @@ -16,8 +18,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. |