zng_wgt_window

Function on_resized

Source
pub fn on_resized(
    child: impl UiNode,
    handler: impl WidgetHandler<WindowChangedArgs>,
) -> impl UiNode
Expand description

P On window size changed.

This event notifies every time the window content area size changes. You can also track the window size using the actual_size variable.

This property is the same as on_pre_window_resized.