You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Event Handling > resize

8.36 resize

on.resize(width, height)

This routine is called when the script application window changes size. This is a good place to initialize (or relayout) graphical objects based on the window size.

Introduced in platform.apiLevel = '1.0'