Added ability to customize accessory content.
This commit is contained in:
parent
8d67e21d48
commit
0974e9e865
4 changed files with 87 additions and 19 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue