Application:setWindowSize: Difference between revisions

From GiderosMobile
mNo edit summary
m Text replacement - "<source" to "<syntaxhighlight"
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
=== Description ===
=== Description ===
Sets desktop window to a specific size.
Sets desktop window to a specific size.
<source lang="lua">
<syntaxhighlight lang="lua">
application:setWindowSize(width,height)
application:setWindowSize(width,height)
</source>
</syntaxhighlight>


=== Parameters ===
=== Parameters ===

Latest revision as of 16:21, 12 July 2023

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