Layout templates allow you to configure layout components, which can be added to forms. It is often useful to build a Palette, which is a list of pre-configured layout templates, which allow you to build forms quickly using layout components which adhere to your chosen style.
Insert excerpt _standard_settings _standard_settings nopanel true
Each layout object has the following settings:
Field | Description |
---|---|
Name | The name of the layout object. |
Display Name | This field is only available if the layout component is a stream view component or a card container. Specify a display name, which will be displayed as the heading for this component on the form. If no display name is set, The form displays the layout name. |
Cache Data | This field is only available if the layout component is a drop-down list. If ticked, the field will cache its data after the first load. |
Action | This field is only available if the layout component is a button. Specify the action to run when a user clicks the button. |
Snap Grid Size | This field is available for the following types of layout component:
Specify the grid size to use when components are snapped to the grid. |
Composite Component | Specify whether this object is part of a composite component. |
Stream Name | This field is available for the following types of layout component:
The stream that backs the layout component. |
Stream View Name | This field is only available if the layout component is a form or a card container. The name of the stream view that backs this card container or form. This can be used in order to have aggregated data in the background filter of the card container or form. |
Refresh If Not Active | This field is only available if the layout component is a stream view component or a card container. If ticked, the element will refresh even if the parent dashboard is not active (e.g. after the driving selection changes). Otherwise it will refresh as soon as it becomes active. |
Show Paging Bar | This field is only available if the layout component is a card container. If ticked, the paging bar is shown by default. |
Display Text | This field is only available if the layout component is a static text field. Enter the text you want to display on the layout component. By default the Display Text field is an expression editor. For options to format the display text as HTML, tick Use HTML Formatting. |
Use HTML Formatting | This field is only available if the layout component is a static text field. Tick to change the Display Text field from an expression editor to an HTML editor. You can then use the toolbar to apply HTML formatting to the text. |
Default Value | This field is available for the following types of layout component:
If the Dashboard that this layout component is on is opened by an action, and there are no context parameters or form mappings to populate this field, populate the field with this value. |
Date/Time Format | This field is available for the following types of layout component:
Specify the format in which to display the date or date time value. |
Number Format | This field is available for the following types of layout component:
Specify the format in which to display the number value. |
Data Type | This field is available for Dynamic Text and Drop-down Fields. The Data Type determines how the selected data will be formatted. For example if it is an Integer or Float it can have a number format, and if it is a date or date time then it can have a date-time format. |
Decimal Places | This field is only available if the layout component is dynamic text. The number of decimal places to display for numbers. |
URL | This field is only available if the layout component is a URL display. Specify the URL that you want to be displayed. |
Expression | This field is only available if the layout component is a URL display. Enter an expression which, if true, the URL will be calculated as an expression. |
Place Holder Text | This field is available for the following types of layout component:
Enter place holder text that PhixFlow will display when the input field is empty. The text is shown slightly greyed out to distinguish it from text that is entered by the user, or read-only text. |
...
Field | Description | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Border Style | Select a border style:
| ||||||||||||||||||||||
Border Width | Enter a number to specify how many pixels wide the border should be. | ||||||||||||||||||||||
Border Colour | Specify the colour for the border and background. Click on the sample square to open a colour picker and select a color. Click back into the properties tab to close the colour picker. | ||||||||||||||||||||||
Background Colour | |||||||||||||||||||||||
Background ImageImage | Select an image from the drop-down list. To see the repository list of images uploaded to the current application, click
To add a new image, click
| ||||||||||||||||||||||
Background Repeat | PhixFlow assumes you want to use an image to fill the background. For smaller images it will repeat the image to fill the available space. To change this property select one of the options:
| ||||||||||||||||||||||
Background Attachment | Select how the image is to be fixed:
| ||||||||||||||||||||||
Background Position | |||||||||||||||||||||||
Background Size | |||||||||||||||||||||||
Text Colour | Click on the sample square to open a colour picker and select a colour for text. (see Border Colour, above.) | ||||||||||||||||||||||
Font Size | Specify a font point size. | ||||||||||||||||||||||
Font Weight | Select how bold the text appears:
| ||||||||||||||||||||||
Font Style | Select how angled the text appears:
| ||||||||||||||||||||||
Text Align | Select how the text aligns within the component's space:
| ||||||||||||||||||||||
Read Only | |||||||||||||||||||||||
Hidden | |||||||||||||||||||||||
Scroll bars | |||||||||||||||||||||||
Show Horizontal Scrollbar | |||||||||||||||||||||||
Show Vertical Scrollbar | |||||||||||||||||||||||
Sizing | |||||||||||||||||||||||
Autosize |
...
Field | Description |
---|---|
Auto Size | If ticked this component will resize to fill the available space in the direction set on the parent. If the user resizes the dashboard the components will resize. If multiple components have auto size selected, the available space will be shared between auto sized components. Note that manually resizing the component will turn auto size off. |
Grow Factor | The number representing how much a component can resize. When you have several components, PhixFlow uses the difference in their numbers to allocate space. For example, if you have 3 components (A, B and C) with their grow factor set to:
|
Direction | If a direction is selected, components inside this container will be distributed in the selected direction.
|
Wrap | This field is only visible if a direction is selected. Wrap affects how the components wrap when there is less space available.
|
Justify | This field is only visible if a direction is selected. Justify affects the position of the components in the direction set (horizontal for row, vertical for column).
|
Align | This field is only visible if a direction is selected. Align affects the position of the components perpendicular to the direction set (vertical for row, horizontal for column).
|
Read only | If ticked this component will be marked as read only. For input fields this means that the data in them will not be editable and for buttons it will make the button unusable. If the component is a form or an area, marking it as read only will mark ALL input fields in that area / form as read only, but buttons will NOT be automatically marked as read only |
...
Field | Description | ||||||
---|---|---|---|---|---|---|---|
Type | The type of layout component. | ||||||
View Type | The type of view this layout component can be used on. | ||||||
Internal Icon SourceSource
| Select an image from the list. PhixFlow uses this image as the icon if you add the component to a palette. | ||||||
Menu Icon Source | The icon displayed in menus for this component. | ||||||
Template | Whether this is a template component. |
...