zng::scroll

Function v_line_unit

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

P Vertical offset added when the SCROLL_DOWN_CMD runs and removed when the SCROLL_UP_CMD runs.

Relative lengths are relative to the viewport height.

This property sets the VERTICAL_LINE_UNIT_VAR.