summaryrefslogtreecommitdiffstats
path: root/style
diff options
context:
space:
mode:
authorLibravatar Casper Rogild Storm <2248455+casperstorm@users.noreply.github.com>2022-11-29 11:36:00 +0100
committerLibravatar Casper Rogild Storm <2248455+casperstorm@users.noreply.github.com>2022-11-29 11:36:00 +0100
commit0974e9e86523174e7a07d992b48d681aa07d4a7e (patch)
tree8fd8784b89c0444029246183d1b9e208e51e97e5 /style
parent8d67e21d48dcefbbb675cfad07849607ce0fe1b7 (diff)
downloadiced-0974e9e86523174e7a07d992b48d681aa07d4a7e.tar.gz
iced-0974e9e86523174e7a07d992b48d681aa07d4a7e.tar.bz2
iced-0974e9e86523174e7a07d992b48d681aa07d4a7e.zip
Added ability to customize accessory content.
Diffstat (limited to 'style')
-rw-r--r--style/src/pick_list.rs2
-rw-r--r--style/src/theme.rs2
2 files changed, 0 insertions, 4 deletions
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),