Difference between revisions of "Event.LAYOUT RESIZED"

From GiderosMobile
Line 3: Line 3:
 
'''Value:''' layout_resized<br/>
 
'''Value:''' layout_resized<br/>
 
=== Description ===
 
=== Description ===
Dispatched to a sprite when its size has been set by the layout system.
+
<translate>Dispatched to a sprite when its size has been set by the layout system.</translate>
 
=== Parameters ===
 
=== Parameters ===
'''width''': (number) the computed width of the sprite<br/>
+
'''width''': (number) <translate>the computed width of the sprite</translate><br/>
'''height''': (number) the computed height of the sprite<br/>
+
'''height''': (number) <translate>the computed height of the sprite</translate><br/>

Revision as of 14:34, 23 August 2018

Available since: Gideros 2018.5
Value: layout_resized

Description

Dispatched to a sprite when its size has been set by the layout system.

Parameters

width: (number) the computed width of the sprite
height: (number) the computed height of the sprite