Function zng::scroll::h_wheel_unit

source ยท
pub fn h_wheel_unit(
    child: impl UiNode,
    unit: impl IntoVar<Length>,
) -> impl UiNode
Expand description

P Horizontal offset added when the mouse wheel is scrolling by lines.

The unit value is multiplied by the MouseScrollDelta::LineDelta x value to determinate the scroll delta.

This property sets the HORIZONTAL_WHEEL_UNIT_VAR.