Resize Form

When I run the following the form opens but the size is ignored and opens as a very small form. If I remove the setsize the form actually has a size of 930x1400 but it still displays as a small form which is much smaller than its actual size.

Any ideas as to why and how do I display it as its full size (running servoy 6.03)?

	var Window = application.createWindow("Mins15", JSWindow.MODAL_DIALOG);
	Window.title = 'Day - Minutes 15'	
	Window.setSize(930,1400)
	Window.show(forms.frm_mins_15)

Try this code:

var win = application.createWindow("Mins15", JSWindow.MODAL_DIALOG);
win.setInitialBounds(JSWindow.FULL_SCREEN, JSWindow.FULL_SCREEN, JSWindow.FULL_SCREEN, JSWindow.FULL_SCREEN);
win.setTitle("Day - Minutes 15");
Window.show(forms.frm_mins_15);

Thanks, I think I just found out why, I had another smaller form which was called previously but has had the same name Mins15. Once I changed the name it resized. I guess something is retaining this information but not sure why it prevents the resize though.