Difference between revisions of "Application:setWindowSize"

From GiderosMobile
m
m (Text replacement - "</source" to "</syntaxhighlight")
Line 6: Line 6:
 
<source lang="lua">
 
<source lang="lua">
 
application:setWindowSize(width,height)
 
application:setWindowSize(width,height)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Revision as of 16:36, 12 July 2023

Available since: Gideros 2015.04.12
Class: Application

Description

Sets desktop window to a specific size. <source lang="lua"> application:setWindowSize(width,height) </syntaxhighlight>

Parameters

width: (number) new width of the window
height: (number) new height of the window