Adjust list item & pickers spacing (#14250)
This commit is contained in:
parent
c1aa4d939c
commit
e50811c425
4 changed files with 6 additions and 4 deletions
|
@ -110,7 +110,7 @@ pub trait PickerDelegate: Sized + 'static {
|
|||
.overflow_hidden()
|
||||
.flex_none()
|
||||
.h_9()
|
||||
.px_4()
|
||||
.px_3()
|
||||
.child(editor.clone()),
|
||||
)
|
||||
.child(Divider::horizontal())
|
||||
|
@ -527,7 +527,7 @@ impl<D: PickerDelegate> Picker<D> {
|
|||
)
|
||||
.with_sizing_behavior(sizing_behavior)
|
||||
.flex_grow()
|
||||
.py_2()
|
||||
.py_1()
|
||||
.track_scroll(scroll_handle.clone())
|
||||
.into_any_element(),
|
||||
ElementContainer::List(state) => list(state.clone())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue