Tutorial: window.resizeTo

window.resizeTo

Resizes the window by a specified amount.

Example

var mainWindow = fin.desktop.Window.getCurrent(),

mainWindow.resizeTo(10, 10, "top-right");