Application:setWindowSize: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2015.04.12<br/> | '''<translate>Available since</translate>:''' Gideros 2015.04.12<br/> | ||
=== Description === | === <translate>Description</translate> === | ||
<translate>Sets desktop window to a specific size</translate> | <translate>Sets desktop window to a specific size</translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
Application:setWindowSize(width,height) | Application:setWindowSize(width,height) | ||
</source> | </source> | ||
=== Parameters === | === <translate>Parameters</translate> === | ||
'''width''': (number) <translate>new width of the window</translate> <br/> | '''width''': (number) <translate>new width of the window</translate> <br/> | ||
'''height''': (number) <translate>new height of the window</translate> <br/> | '''height''': (number) <translate>new height of the window</translate> <br/> | ||
Revision as of 06:27, 24 August 2018
Available since: Gideros 2015.04.12
Description
Sets desktop window to a specific size
Application:setWindowSize(width,height)
Parameters
width: (number) new width of the window
height: (number) new height of the window