Difference between revisions of "Application:setWindowSize"

From GiderosMobile
m
Line 4: Line 4:
 
=== Description ===
 
=== Description ===
 
Sets desktop window to a specific size.
 
Sets desktop window to a specific size.
 
 
<source lang="lua">
 
<source lang="lua">
 
application:setWindowSize(width,height)
 
application:setWindowSize(width,height)
Line 10: Line 9:
  
 
=== Parameters ===
 
=== Parameters ===
'''width''': (number) new width of the window <br/>
+
'''width''': (number) new width of the window<br/>
'''height''': (number) new height of the window <br/>
+
'''height''': (number) new height of the window<br/>
  
 
{{Application}}
 
{{Application}}

Revision as of 00:27, 13 June 2021

Available since: Gideros 2015.04.12
Class: Application

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