diff --git a/crates/bevy_ui/src/layout/convert.rs b/crates/bevy_ui/src/layout/convert.rs index 22c6c14aa4..161fc12751 100644 --- a/crates/bevy_ui/src/layout/convert.rs +++ b/crates/bevy_ui/src/layout/convert.rs @@ -73,7 +73,7 @@ pub fn from_node(node: &Node, context: &LayoutContext, ignore_border: bool) -> t x: node.overflow.x.into(), y: node.overflow.y.into(), }, - scrollbar_width: node.scrollbar_width, + scrollbar_width: node.scrollbar_width * context.scale_factor, position: node.position_type.into(), flex_direction: node.flex_direction.into(), flex_wrap: node.flex_wrap.into(),