zng::scroll

Function zoom_size_only

Source
pub fn zoom_size_only(
    child: impl UiNode,
    enabled: impl IntoVar<bool>,
) -> impl UiNode
Expand description

P Set on an descendant of Scroll! to resize the widget instead of scaling it with the scroll zoom.

This property disables inline layout for the widget.