Run when a frame's size changes
Signature:
OnSizeChanged(self,
width,
height)
Arguments:
self
- Reference to the widget for which the script was run (frame
)width
- New width of the frame (in pixels) (number
)height
- New height of the frame (in pixels) (number
)