Function zng_wgt_window::custom_chrome_adorner_fn
source ยท pub fn custom_chrome_adorner_fn(
child: impl UiNode,
custom_chrome: impl IntoVar<WidgetFn<()>>,
) -> impl UiNode
Expand description
P
Adorner property specific for custom chrome overlays.
This property behaves exactly like adorner_fn
. Using it instead of adorner frees the adorner property
for other usage in the window instance or in derived window types.
Note that you can also set the custom_chrome_padding_fn
to ensure that the content is not hidden behind the adorner.