SetWebSize: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
== Example == | == Example == | ||
< | <syntaxhighlight lang='Lua'> | ||
SetWebSize(web, 1920, 1080) | SetWebSize(web, 1920, 1080) | ||
</ | </syntaxhighlight> | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{Template:WebFunctions}} | {{Template:WebFunctions}} |
Latest revision as of 23:15, 18 March 2020
Description
Set the web UI size.
Syntax
SetWebSize(web, width, height)
Parameters
- web
The web identifier - width
The width - height
The height
Return Value
- This function returns true on success.
Example
SetWebSize(web, 1920, 1080)