Event.APPLICATION RESIZE

From GiderosMobile
Revision as of 14:26, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

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

<syntaxhighlight lang="lua"> stage:addEventListener(Event.APPLICATION_RESIZE,function() local minX, minY, maxX, maxY = application:getLogicalBounds() print("--- RESIZE ---",(minX - maxX) * -1) end) </source>