on-size in canvas:wide-snip-mixin
Called when the window is resized. The window's new size (in pixels) is provided to the method. The size values are for the entire window, not just the client area.
( -> void
send a-canvas:wide-snip-mixin on-size width height)
width : exact integer in [0, 10000]
height : exact integer in [0, 10000]
If the canvas is displaying an editor, its
on-display-size method is called.
Adjusts the sizes of the marked snips.
See
add-wide-snip and
add-tall-snip.