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:
Marshall Bowers 2023-11-28 14:27:19 -05:00 committed by GitHub
parent 132ad5989c
commit 874fde09ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 54 additions and 55 deletions

View file

@ -301,7 +301,7 @@ impl PickerDelegate for CommandPaletteDelegate {
};
Some(
ListItem::new(ix).selected(selected).child(
ListItem::new(ix).inset(true).selected(selected).child(
h_stack()
.justify_between()
.child(HighlightedLabel::new(