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