Event.APPLICATION RESIZE

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Available since: Gideros 2015.03.22
Value: applicationResize
Defined by: EventDispatcher

Description

This event is dispatched when app window has changed its size on Desktops.

Examples

stage:addEventListener(Event.APPLICATION_RESIZE,function()
	local minX, minY, maxX, maxY = application:getLogicalBounds()
	print("--- RESIZE ---",(minX - maxX) * -1)
end)