Difference between revisions of "Event.LAYOUT RESIZED"

From GiderosMobile
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
'''Available since:''' Gideros 2018.5<br/>
 
'''Available since:''' Gideros 2018.5<br/>
 
'''Value:''' layout_resized<br/>
 
'''Value:''' layout_resized<br/>
 +
'''Defined by:''' [[Sprite]]<br/>
 +
 
=== Description ===
 
=== Description ===
<translate>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.
 +
 
 
=== Parameters ===
 
=== Parameters ===
'''width''': (number) <translate>the computed width of the sprite</translate><br/>
+
'''width''': (number) the computed width of the sprite<br/>
'''height''': (number) <translate>the computed height of the sprite</translate><br/>
+
'''height''': (number) the computed height of the sprite<br/>
 +
 
 +
{{Sprite}}

Latest revision as of 19:45, 8 May 2022

Available since: Gideros 2018.5
Value: layout_resized
Defined by: Sprite

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