Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can add styles directly in the repository, or in a layout component's properties → Style Settings section; see Layout.

These options construct CSS styling for the layout component; see https://www.w3schools.com/cssref/ for details of CSS. You can also create custom styling, see CSS Properties.

Insert excerpt
_standard_settings
_standard_settings
nopaneltrue

Basic Settings

FieldDescription
NameEnter the name for a style
Border Style

Select a border style:

  • None
  • Hidden
  • Dotted
  • Dashed
  • Solid
  • Double
  • Groove
  • Ridge
  • Inset
  • Outset
  • Initial
  • Inherit
Border WidthEnter 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 Image 

Anchor
image
image
Select an image from the drop-down list. To see the repository list of images uploaded to the current application, click
Insert excerpt
_image_list
_image_list
nopaneltrue
 .

To add a new image, click 

Insert excerpt
_add
_add
nopaneltrue
. PhixFlow opens the Image properties.

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:

  • repeat - repeat the image to fill the space available
  • repeat-x - repeat the image to fill the space horizontally
  • repeat-y - repeat the image to fill the space vertically
  • no-repeat - show a single instance of the image.

Background Attachment

Select how the image is to be fixed:

  • scroll  
  • fixed   
  • local  

For an example of how these work, see https://css-tricks.com/almanac/properties/b/background-attachment/.

Background PositionSet the position of a background image; see https://www.w3schools.com/cssref/pr_background-position.asp.
Background SizeSet the size of a background; see https://www.w3schools.com/cssref/css3_pr_background-size.asp.
Text ColourClick on the sample square to open a colour picker and select a colour for text. (see Border Colour, above.)
Font SizeSpecify a font point size; see https://www.w3schools.com/cssref/pr_font_font-size.asp.
Font Weight

Select how bold the text appears:

  • normal (default)
  • bold
  • bolder
  • lighter
  • initial
  • inherit
Font Style

Select how angled the text appears:

  • normal
  • italic
  • oblique
  • initial
  • inherit
Text Align

 Select how the text aligns within the component's space:

  • left
  • right
  • centre
  • justify
  • initial
  • inherit
Read Only
Insert excerpt
_check_box_ticked
_check_box_ticked
nopaneltrue
 to make a component read-only.
Hidden

Insert excerpt
_check_box_ticked
_check_box_ticked
nopaneltrue
 to hide the component from application users.

Tip

The data in hidden components does not refresh. If you need the data on a hidden grid to refresh, set the Position Settings: Height and Width to 0. 


Show Horizontal ScrollbarAdd a horizontal bar to the component so the user can scroll left and right if the content extends beyond the edges.
Show Vertical ScrollbarAdd a vertical scrollbar to the component, so the user can scroll up and down if the content extends beyond the top/bottom.

...

FieldDescription
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

You can 

Insert excerpt
_check_box_untick
_check_box_untick
nopaneltrue
 this property whilst working in a layout, by:

  • manually resizing the component
  • using the 
    Insert excerpt
    _autosize
    _autosize
    nopaneltrue
     context menu option.


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:

  • the same value, 1,  for all components, PhixFlow allocates the available space equally to components A, B and C
  • different values, A=1, B=2 and C=3, PhixFlow divides the space into 6 equal portions and allocates:
    • 1 portion to A
    • 2 portions to B
    • 3 portions to C.
Direction

If a direction is selected, components inside this container will be distributed in the selected direction.

  • Row - Components will be distributed as a single row, in order. The components will shrink to fit if the window is made smaller than the width of the components.
  • Row Reverse- Components will be distributed in rows, in reverse order.
  • Column - Components will be distributed as a single column, in order. If the window height is made smaller only components with Auto Size ticked will be resized.
  • Column Reverse - Components will be distributed as column in reverse order.
Wrap

This field is only visible if a direction is selected. Wrap affects how the components wrap when there is less space available.

  • Wrap - wrap the components starting with either the right column, or the bottom row.
  • Wrap Reverse - wrap the components starting with the left column or the top row.
  • No Wrap - never wrap. 
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). 

  • Flex Start - Components will be positioned from the start edge of the container, with no spacing between them.
  • Flex End - Components will be positioned so the last component aligns with the end edge of the container, with no spacing between them.
  • Center - Components will be centred in the direction set, with no spacing between them, and equal spacing between the edge of the container and the first and last component.
  • Space Around - Distribute components with even spacing around each component.
  • Space Between - Distribute components with even spacing between each component, but no spacing between the component and the container.
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).

  • Flex Start - Components will be positioned from the start edge of the container, with no spacing between them.
  • Flex End - Components will be positioned so the last component aligns with the end edge of the container, with no spacing between them.
  • Center - Components will be centred, with no spacing between them, and equal spacing between the edge of the container and the first and last component.
  • Baseline - Position components so their baselines align.
  • Stretch - Components with no size set in this direction will have their size increased to fill the container in this direction.
  • Space Around - Distribute components with even spacing around each component.
Read onlyIf 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

CSS Properties

A list of CSS properties. Click 

Insert excerpt
_add
_add
nopaneltrue
 to add a new CSS style; see CSS Properties.