Overview
You can make changes to the palettes, by adding components or removing them. You can also change the appearance of components in a palette, for example to use corporate colours; see Editing a Palette.
You may prefer to leave the palettes supplied by PhixFlow unchanged and instead create your own palette.
Changing Styles
Warning |
---|
Changing the style of a component on the palette affects any future use of the component for all applications that have access to the palette. Existing uses of the component are not affected. Changing shared styles affect all existing uses of the component as well as future uses; see Screen Styling. For example, if you change a button to have a pink background: - using the style, only new buttons are pink
- using the shared style, in any application all the components that use that colour setting will turn pink.
|
To change a palette component without affecting any existing uses of it, create a style that overrides the existing style.
- In the palette, right-click on a component and select .
If you need to find a child component, such as a header on a complete screen, right-click on the parent and select Insert excerpt |
---|
| _repository_find |
---|
| _repository_find |
---|
nopanel | true |
---|
|
This lists all the child components. Double-click the specific component to open its properties. - In the component properties, click on the
Insert excerpt |
---|
| _property_tabs |
---|
| _property_tabs |
---|
name | style |
---|
nopanel | true |
---|
|
. - Edit the style properties to have the required settings; see Style properties.
- your changes.
To change an aspect of the style of all components in a palette, for example to add a company logo or change the colour scheme to that of your company:
- In the palette, right-click on a component and select .
- In the component properties, click on the
Insert excerpt |
---|
| _property_tabs |
---|
| _property_tabs |
---|
name | style |
---|
nopanel | true |
---|
|
. - In the Shared Styles section, click .
Adding Components to a Palette- Edit the shared style properties to have the required settings; see Style properties.
- your changes.
The following video shows how to do this.
Iframe |
---|
src | https://www.youtube.com/embed/X8A_8l4rSMM?rel=0 |
---|
width | 560px |
---|
height | 315px |
---|
|
Adding Components
If you have a component that you want to add to a palette, you must first save a copy it as a Template template component; see Making Template Components.
To add a template component to a palette:
- Open the repository.
- Navigate to the palette and right-click select edit.
- Drag the Palette tab into the workspace to show the tabs side-by-side.
- From the repository branch → Template, drag a template from the repository into a palette or open one of the groups and add it there.
Removing Components
To remove components from a palette, right-click on the item in the palette and click
Insert excerpt |
---|
| _delete |
---|
| _delete |
---|
nopanel | true |
---|
|
. This does not remove the component from the repository.
Creating a New Palette
- In the repository navigate to your Application → Palette section and select .
- PhixFlow opens a properties tab for the palette. Name the palette and save it.
- Click the
Insert excerpt |
---|
| _template |
---|
| _template |
---|
nopanel | true |
---|
|
icon to display the available templates. If you have not created any templates yet see Making Template Components. - Drag the templates into the palette properties → Component section.
- Optionally, define Palette Groups and drag templates into the groups.
This creates a palette to which you can add components. This is only available to your application.
Sharing
A a Palette
If you want to share your palette with other applications, move the palette and template components from your application into a package that the other applications use. You can then set some components to be defaults.
- In the repository expand Packages and select .
- Create your package and complete the details.
Optionally, to make this a template package, tick Template; see Understanding Template Packages. Then specify the components you want to use as default components in the Template Details section.
Setting Default Components
From version 9.0 onward, when When you create a new application you select a template package. PhixFlow uses the information in the template package to configure the default components. When creating a screen, if you drag in a table or attribute, PhixFlow uses the default component for forms, true/false fields, or fields for specific types of data, such as long strings or floating point numbers.
You can see which default components have been set in Application Properties →
Insert excerpt |
---|
| _property_tabs |
---|
| _property_tabs |
---|
name | style |
---|
nopanel | true |
---|
|
.
To change the default palette or components for your application:
- In the repository, expand Applications.
- Double-click on the application name.
- Click the
Insert excerpt |
---|
| _property_tabs |
---|
| _property_tabs |
---|
name | style |
---|
nopanel | true |
---|
|
. - Scroll down to Default Components.
- Select the palette or components you want to use.
- Save your changes
Next time you drag a table or attribute onto a screen canvas, PhixFlow uses the default components you have set.
Learn More
Palette: for palette and palette group properties.