zng_wgt_size_offset

Function sticky_height

source
pub fn sticky_height(
    child: impl UiNode,
    sticky: impl IntoVar<bool>,
) -> impl UiNode
Expand description

P Retain the widget’s previous height if the new layout height is smaller. The widget is layout using its previous height as the minimum height constrain.

This property disables inline layout for the widget.