That script icon has nothing to do with this. That icon indicates the presence of a script trigger.
For one of these layouts, select a layout object such as a field, portal or tab control while in layout mode, then note what "anchors" have been selected for it in the Autosizing section of the Inspector's position tab. an object with top and left anchors selected has the default setting for newly added layout objects. These objects stay "anchored" to the top and left hand edges of the window and thus do not change when the window size changes. But if both right and left anchors are selected, the object will stretch horizontally when the width of the window changes. Top and bottom anchors do the same for vertical size changes to the window. If NO anchors are selected, the object will stay centered in the window.
I did think that had something to do with it, but its the actual window that seems to re-size.
I've tried looking at the Header, Body and Footer to see if there has been some autosizing selected for these elements but can't see anything.
I've been reading around as well... Does everyone just kinda work this stuff out for themselves? Because the Knowledge Base and Tutorial don't seem to have anything about this.
I don't want to continue building our system until I've figured this out as everyone is giving me stick for having such a small window (based on the smallest monitor here).
I've just worked something out at least... Adding the necessary anchor points will automatically make the window maximise.
That's pretty cool, but took me a while to figure out... duh!
apologies, but I think we are discussing two different but related concepts. I've described how objects on the layout can be set to adjust to window size changes. I now see that you are also wanting to know how to get the window itself to resize to the current monitor automatically.
To actually change the size of the window there are several script steps that can do that. One can specify the position and size of the window. Another can maximize all your windows (on the Windows OS only) in a single step.
I'd go to Layout Setup, click the script triggers tab and look for a script performed by the OnLayoutEnter trigger.
An OnFirstWindowOpen trigger, specified in File | File Options, could also maximize all windows when the file is first opened.
Ah ha! Sweet. I just did the following (on mac):
Adjust Window [Maximise]
Cheers for the help.