Screen:setSize

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Available since: Gideros 2017.8
Class: Screen

Description

Attempts to fix the size of the screen or window, if allowed by the platform.

Screen:setSize(w,h)

Parameters

w: (number) the new screen width
h: (number) the new screen height