PhixFlow Help

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Styling Forms

Manage the styling of your forms to give your application a more aesthetically pleasing style. To recap the steps in the video:

Hide the UID

  1. Go into the configuration form for the grid UID
  2. In Grid Settings set Hidden
  3. Go into the configuration form for the field UID
  4. In Style Settings set Hidden

Create an Area to hold action buttons

  1. Right Click on the lower area of the screen, click on Open Palette, then click Basic Components.
  2. Drag the Area onto the form
    1. Note, if you can't see the Area right click and go to Find in Explorer
  3. Enter the settings
    1. Name: SimpleButtonHolder
    2. Background Colour: #9b9b9b
    3. Position Settings
      • Width: 100%
      • Height: 45px
      • Bottom: 0px
  4. Use Find in Explorer to find the action buttons
  5. Holding the Shift key and drag the buttons onto the SimpleButtonHolder area
  6. Go into the configuration form for the area SimpleButtonHolder
  7. Enter the settings:
    1. Direction: Row Wrap
    2. Justify: Flex End
    3. Align: Center

Save your changes to see the results.

Update the style for the Delete button

  1. Go into the configuration form for the button Delete
  2. Open the section Style Settings
  3. Set the Border Style to Solid
  4. Set the Border Width to 3
  5. Set a Border Colour
  6. Set a Background Colour
  7. Set a Text Colour

Save your changes, close and reopen the dashboard to see the results.

Update style for all buttons

  1. Go into the configuration form for a button - you can use any button
  2. Open the section Shared Styles
  3. Open the shared style Button Style
  4. Set the Border Style to Solid
  5. Set the Border Width to 3
  6. Set a Border Colour
  7. Set a Background Colour
  8. Set a Text Colour

Save your changes to see the results. All buttons will update to reflect the new style settings, other than the Delete button. The styling on the Delete button overrides the styling applied through the shared style Button Style.

Clear styles

  1. Clear your style settings on the Delete button
  2. Save your changes - the Delete button should now look at the same at the other buttons
  3. Clear your style settings in the shared style Button Style
  4. You should see the styling for all buttons return to the default

Create CSS property for a button

  1. Open the configuration form for the button Delete
  2. Go to the section CSS Properties
  3. Press the + button to add a css style
  4. Enter the settings:
    1. CSS Tag: background-color
    2. Value: #bdbdbd
    3. StateMouse Over

To access a colour picker within PhixFlow

      1. Open the configuration form for an object on the edit form - you can use any object for this (button, button label, form, field, etc.).
      2. Use the colour picker to choose a colour you like, copy and paste the # value into the Value field of the CSS property.
      3. Close the other configuration editor making sure you do not save your changes.

Save your changes, close the dashboard and reopen it to review the result.

Create a Shared Style

  1. Open the configuration form for the shared style Button
  2. Drag the CSS property you created for the Delete button into the shared style
  3. Click the + button to add another style
  4. Enter the settings:
    1. CSS Tag: padding-right
    2. Value: 5px

Save your changes. You should now see the mouse over colour applied to all buttons

Create a specific style override

  1. Open the configuration form for the button Delete
  2. Go to the section CSS Properties
  3. Press the + button to add a css style
  4. Enter the settings:
    1. CSS Tag: background-color
    2. Value: red

Save your changes. You should now see the red mouse over colour applied to the Delete button.

Sort Order

  1. Open the configuration form for the button Add
  2. Set Order to 3
  3. Open the configuration form for the button Update
  4. Set Order to 2
  5. Open the configuration form for the button Delete
  6. Set Order to 1

Save your changes, close the dashboard and reopen it to review the result.

  • No labels