- Code: Select all
var win = application.createWindow(controller.getName(), JSWindow.MODAL_DIALOG);
win.resizable = true;
/* x, y, width, and height are retrieved using application.getUserProperty() */
win.setInitialBounds(x, y, width, height);
win.show(controller.getName());
The window is shown with the correct size/location and the window is resizable, I just want the user to be able to resize the window smaller than the size it was initially shown. Am I missing something?