diff --git a/examples/ui/scroll.rs b/examples/ui/scroll.rs index 7e47b2c5e6..6e270c4896 100644 --- a/examples/ui/scroll.rs +++ b/examples/ui/scroll.rs @@ -151,7 +151,7 @@ fn vertically_scrolling_list(font_handle: Handle) -> impl Bundle { flex_direction: FlexDirection::Column, align_self: AlignSelf::Stretch, height: Val::Percent(50.), - overflow: Overflow::scroll(), // n.b. + overflow: Overflow::scroll_y(), // n.b. scrollbar_width: 20., ..default() },