zng::scroll

Function wheel_units

source
pub fn wheel_units(
    child: impl UiNode,
    horizontal: impl IntoVar<Length>,
    vertical: impl IntoVar<Length>,
) -> impl UiNode
Expand description

P Horizontal and vertical offsets used when mouse wheel scrolling.

This property sets the h_wheel_unit and v_wheel_unit.