Screen:setSize: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
'''Available since:''' Gideros 2017.8<br/> | '''Available since:''' Gideros 2017.8<br/> | ||
=== Description === | === Description === | ||
Attempts to fix the size of this screen or window, if allowed by the platform. | <translate>Attempts to fix the size of this screen or window, if allowed by the platform.</translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
Screen:setSize(w,h) | Screen:setSize(w,h) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
'''w''': (number) The new width <br/> | '''w''': (number) <translate>The new width</translate> <br/> | ||
'''h''': (number) The new height <br/> | '''h''': (number) <translate>The new height</translate> <br/> | ||
Revision as of 12:38, 23 August 2018
Available since: Gideros 2017.8
Description
Attempts to fix the size of this screen or window, if allowed by the platform.
Screen:setSize(w,h)
Parameters
w: (number) The new width
h: (number) The new height