Application:setWindowSize: Difference between revisions

From GiderosMobile
mNo edit summary
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 15: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