zng_wgt_window

Function auto_size

source
pub fn auto_size(
    child: impl UiNode,
    auto_size: impl IntoVar<AutoSize>,
) -> impl UiNode
Expand description

P Binds the auto_size window var with the property value.

The binding is bidirectional and the window variable is assigned on init.