Move padding on uniform list inside the scrollable area
This commit is contained in:
parent
5d59108b97
commit
35481e2c79
2 changed files with 4 additions and 6 deletions
|
@ -205,7 +205,6 @@ impl<D: PickerDelegate> Render for Picker<D> {
|
|||
.when(self.delegate.match_count() > 0, |el| {
|
||||
el.child(
|
||||
v_stack()
|
||||
.p_1()
|
||||
.grow()
|
||||
.child(
|
||||
uniform_list(
|
||||
|
@ -239,7 +238,8 @@ impl<D: PickerDelegate> Render for Picker<D> {
|
|||
}
|
||||
},
|
||||
)
|
||||
.track_scroll(self.scroll_handle.clone()),
|
||||
.track_scroll(self.scroll_handle.clone())
|
||||
.p_1()
|
||||
)
|
||||
.max_h_72()
|
||||
.overflow_hidden(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue