pub fn zoom_to_fit_mode(
child: impl IntoUiNode,
mode: impl IntoVar<ZoomToFitMode>,
) -> UiNodeExpand description
P Defines how the scale is changed to fit the content to the viewport.
The ZOOM_TO_FIT_CMD implementation uses this value to define the zoom scale needed to fit the content.
By default it scales down and up to fit, setting this to ScaleDown will only scale down larger content and only
scale up smaller content to 100%.
This property sets the ZOOM_TO_FIT_MODE_VAR.