Overview
A layout defines the size of the application window and the basic arrangement of display components in the runtime application. Be sure to plan how you want to use displays. For example, consider whether you want a menu bar, toolbar, or other elements to always display at the top of your application window.
You may need only one layout to handle the information in the application.
The last display listed in the Layout tab is the one that is replaced when you change the display. For example, new projects include a default layout called Startup. The MainPage display that is listed last is the default area that changes when you tell the application to open a display.
On this page:
Heading 2
Heading 3
Paragraph
To create a layout:
- Go to Displays → Layouts.
- Click New.
- Enter or select information, as needed.
- Click OK.
Column | Description |
---|---|
Layout name | Enter a name for the layout. |
Layout | Select the layout type:
|
Description | Enter a description of this layout. |
Displays allowed in this layout |
|
- Click Add Row to add a row for a display.
The displays you add here are the first displays the layout uses.
Enter or select information, as needed.
Column | Description |
---|---|
Page | Select a display you want to include in the layout. Only page displays are available for use in a layout. |
Docking | Select the docking location for this display:
|
HorizontalAlign | Select the horizontal alignment for this layout:
|
VerticalAlign | Select the vertical alignment for this layout:
|
Margins | Set the margin for this layout. |
Splitter | -------------- |
Stretch |
|
MobilePage | Select Object Dialog: Asset Path and ObjectName. |
Left | Set the left position of the layout |
Top | Set the top position of the layout |
Target Layout size (on Edit Displays Layouts) | Select the default resolution for new layouts in the project. This does not affect existing layouts. |
Default Size when creating new Pages | Select the default resolution for new pages in the project. This does not affect existing pages. |
In this section: