Difference between revisions of "Screen:setSize"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2017.8<br/> === Description === Attempts to fix the size of this screen or window, if allowed by the platform. <source lang="lua"> = S...") |
|||
Line 4: | Line 4: | ||
Attempts to fix the size of this screen or window, if allowed by the platform. | Attempts to fix the size of this screen or window, if allowed by the platform. | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | Screen:setSize(w,h) | |
</source> | </source> | ||
− | '''w | + | '''w''': (number) The new width ''''''<br/> |
− | '''h | + | '''h''': (number) The new height ''''''<br/> |
Revision as of 10:17, 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)
'w: (number) The new width '
'h: (number) The new height '