summaryrefslogtreecommitdiffstats
path: root/style/src/theme.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2023-01-02 20:36:40 +0100
committerLibravatar GitHub <noreply@github.com>2023-01-02 20:36:40 +0100
commitda1b375579c0d4e7a6bd463c8e000af5668354ae (patch)
tree6eb2dffa65a0cf91762c160f43d02c16df796bd1 /style/src/theme.rs
parentd956b8a9fb9d0f18c5568c91fc7b97900477a68e (diff)
parent39f49186cefa688a1cc80ed754ec4028c642636a (diff)
downloadiced-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/theme.rs')
-rw-r--r--style/src/theme.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/style/src/theme.rs b/style/src/theme.rs
index 271d9a29..a766b279 100644
--- a/style/src/theme.rs
+++ b/style/src/theme.rs
@@ -535,10 +535,10 @@ impl pick_list::StyleSheet for Theme {
text_color: palette.background.weak.text,
background: palette.background.weak.color.into(),
placeholder_color: palette.background.strong.color,
+ handle_color: palette.background.weak.text,
border_radius: 2.0,
border_width: 1.0,
border_color: palette.background.strong.color,
- icon_size: 0.7,
}
}
PickList::Custom(custom, _) => custom.active(self),
@@ -554,10 +554,10 @@ impl pick_list::StyleSheet for Theme {
text_color: palette.background.weak.text,
background: palette.background.weak.color.into(),
placeholder_color: palette.background.strong.color,
+ handle_color: palette.background.weak.text,
border_radius: 2.0,
border_width: 1.0,
border_color: palette.primary.strong.color,
- icon_size: 0.7,
}
}
PickList::Custom(custom, _) => custom.hovered(self),