Add inset variant to ListItem
(#3422)
This PR adds an inset variant to the `ListItem` component. We're now using this inset variant for the `ListItem`s we render in pickers. Release Notes: - N/A
This commit is contained in:
parent
132ad5989c
commit
874fde09ab
4 changed files with 54 additions and 55 deletions
|
@ -61,6 +61,7 @@ impl PickerDelegate for Delegate {
|
|||
|
||||
Some(
|
||||
ListItem::new(ix)
|
||||
.inset(true)
|
||||
.selected(selected)
|
||||
.child(Label::new(candidate)),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue