Function zng::scroll::h_line_unit
source ยท pub fn h_line_unit(
child: impl UiNode,
unit: impl IntoVar<Length>,
) -> impl UiNode
Expand description
P
Horizontal offset added when the SCROLL_RIGHT_CMD
runs and removed when the SCROLL_LEFT_CMD
runs.
Relative lengths are relative to the viewport width.
This property sets the HORIZONTAL_LINE_UNIT_VAR
.