Difference between revisions of "Screen:setSize"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2017.8<br/> | + | '''<translate>Available since</translate>:''' Gideros 2017.8<br/> |
− | === Description === | + | === <translate>Description</translate> === |
<translate>Attempts to fix the size of this screen or window, if allowed by the platform.</translate> | <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 === | + | === <translate>Parameters</translate> === |
'''w''': (number) <translate>The new width</translate> <br/> | '''w''': (number) <translate>The new width</translate> <br/> | ||
'''h''': (number) <translate>The new height</translate> <br/> | '''h''': (number) <translate>The new height</translate> <br/> |
Revision as of 07:27, 24 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