You can configure any components to have a preferred parent, but it is most useful to do this for components on the palette palette. It will ONLY work for palette items and maybe template in the future. Consider rewording your statement about it being most usefu to something more definite. The nature and naming of parent types is up to you.
Note | ||||||||
---|---|---|---|---|---|---|---|---|
The following palettes predate version 9.0.0 and the template components are not configured with preferred parents. - We are going to group and apply preferred parents to theme 2.
This means when you drag components from them, PhixFlow is unable to highlight potential parent areas. |
See also
How to Configure Preferred Parents
Could we have a diagram that illustrates what is happening at a high level e.g. category → expected children?
- Create layout categories; see Layout Category Properties, below.
- Either in the repository, expand the Layout Categories section and click
.Insert excerpt _add _add nopanel true - Or in an area component properties, in Basic Settings → Layout Categories, click
.Insert excerpt _add _add nopanel true
- Either in the repository, expand the Layout Categories section and click
- Edit an area component. In Basic Settings → Layout Category, select a layout category.
- Open the repository and expand Layout Categories.
- Drag the repository tab to the left to display it next to the other tabs.
- Open a component's properties.
For example, in the palette, right-click on a component and select Edit. - From the repository, drag a layout category onto the Preferred Parent Categories list.
The following table shows some examples of the layout categories you could create, and the components that would be appropriate for them.
Template component | Layout category/preferred parent |
---|---|
static and dynamic text fields | header area, form area |
data fields | form area |
buttons | button-bar area |
Anchor | ||||
---|---|---|---|---|
|
Step 4 illustrated:
Layout Category Properties
Use layout categories to configure preferred parent area highlighting when you drag components from the palette onto a screen.
Insert excerpt _property_toolbar _property_toolbar nopanel true
Insert excerpt _parent _parent nopanel true
Basic Settings
Field | Description |
---|---|
Name | Enter the name for the layout category, which PhixFlow will add to the Layout Categories section of the repository. Drag layout categories from the repository into the Preferred Parent Categories section of components. |
Insert excerpt _description _description nopanel true
Insert excerpt _audit _audit nopanel true