tweak scroll
example
This commit is contained in:
parent
b78b9dce84
commit
de96aad079
@ -151,7 +151,7 @@ fn vertically_scrolling_list(font_handle: Handle<Font>) -> impl Bundle {
|
|||||||
flex_direction: FlexDirection::Column,
|
flex_direction: FlexDirection::Column,
|
||||||
align_self: AlignSelf::Stretch,
|
align_self: AlignSelf::Stretch,
|
||||||
height: Val::Percent(50.),
|
height: Val::Percent(50.),
|
||||||
overflow: Overflow::scroll(), // n.b.
|
overflow: Overflow::scroll_y(), // n.b.
|
||||||
scrollbar_width: 20.,
|
scrollbar_width: 20.,
|
||||||
..default()
|
..default()
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user