Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Manage the styling of your forms to give your application a more aesthetically pleasing style.

Widget Connector
width900
urlhttps://www.youtube.com/watch?v=LIlw-K9uClk&index=4&t=25s&list=PLbPt6SI1Zhb8CnWh7Gvopto7D6LEwcB9A
height500

Manage the styling of your forms to give your application a more aesthetically pleasing style.

Changes since the video was taken: When setting the Direction, select Row to display the Wrap option. 

To recap the steps in the video:

Hide the UID

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

Create an Area to

...

Hold Action Buttons

  1. Right Click -click on the lower area of the screen, pane and click onOpen Palette , then click → Basic Components.
  2. Drag thean Area onto the formNote, if . If you can't see the Area area, right-click and go toselect Find in Explorer.
  3. Enter the settingsFor the Area, set:
    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 Hold the Shift key and drag the buttons onto the SimpleButtonHolder areaand drag the buttons onto the SimpleButtonHolder area. This will add the area into the SimpleButtonHolder.
  6. Go into the configuration form for the area SimpleButtonHolderEnter the settings and set:
    1. Direction: Row
      Displays the Wrap option.
    2. Wrap:Wrap 
      Sets the area to a row layout.
    3. Justify: Flex End
      Aligns the content to the right edge of the row.
    4. Align: Center
      Sets the vertical alignment of the row to the center.

Save your changes to see the results.

Update the

...

Style for the Delete

...

Button

  1. Go into the configuration form for the button Deletebutton Delete.
  2. Open the section Style Settings and set:
      Set the 
      1. Border Style
       to 
      1. Solid
      Set the 
      1. Border Width
       to 3
      1. : 3px
      Set a 
      1. Border Colour: red
      Set a 
      1. Background Colouryellow
      Set a 
      1. Text Colour: Black

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

    Update

    ...

    the 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 Button Style and set:
        Set the 
        1. Border Style
         to 
        1. Solid
        Set the 
        1. Border Width
         to 3Set a Text Colour
        1. 3px
      1. Set a Border Colour
      2. Set a Background Colour
        1. Border Colour: any colour
        2. Background Colour: any colour
        3. Text Colour: black

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

      Clear

      ...

      Styles

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

      ...

      1. should see the styling for all buttons return to the default. 
        If you do not see this change, you may need to close and reopen the dashboard.

      Create a CSS Property for a Button

      1. Open the configuration form for the button Deletebutton Delete.
      2. Go to the section CSS Properties.
      3. Press the + button to add a css styleEnter the settingsCSS style and set:
        1. CSS Tag: background-color
        2. Value: #bdbdbdStateMouse Over#bdbdbd
        3. StateMouse Over

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


      Tip

      To access a colour picker within PhixFlow:

      1. Open the configuration form for an object on the edit form

      ...

      1. . You can use any object for this

      ...

      1. , for example a button, button label, form, field

      ...

      1. and so on.
      2. Use the colour picker to choose a colour you like

      ...

      1. . Copy and paste the # value into the Value field of the CSS property.
      2. 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 Buttonstyle Button Style.
      2. Drag the CSS property you created for the Delete button  button into the shared style.
      3. Click the + button to add another style Enter the settingsand set:
        1. CSS Tag: padding 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 Deletebutton Delete.
      2. Go to the section CSS Properties.
      3. Press the + button button to add a css styleEnter the settingsCSS style and set:
        1. CSS Tag: background background-colorcolor
        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 Addbutton Add.
      2. Set Order to 3.
      3. Open the configuration form for the button Updatebutton 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.
      Anchor_GoBack_GoBack


      Panel

      Next video: 3. Designing Forms and Templates